An organopolysiloxane compound having a weight average molecular weight of 300 to 200,000 and having in one molecule at least one organic group represented by the following formula (1) and at least one selected from (SiO2) unit and (R1SiO3/2) unit,wherein R2 represents a hydrogen atom, an alkyl group having 1 to 6 carbon atoms, or an alkali metal, A independently represents an alkylene group, B represents -NR3-, sulfur or oxygen atom, n is 0 or 2, n1 is 0 or 1, and n2 is 0 or 1 provided that when n is 0 and n2 is 1, n1 is 1, when n is 2 and n2 is 1, n1 is 0 or 1, and when n is 2 and n2 is 0, n1 is 0.