Isocyanate polymer having stated hydrophilic or hydrophobic property