Метод | Описание | |
---|---|---|
SetNullValueForKey ( this o, String key ) : void |
Sets a value of the given key to null. Equivalent to Cocoa's
|
|
SetValueForKey ( this o, Object value, String key ) : void |
Attempts to set a Key-Value Coding compliant value on the given object using the given key. A Key-Value Coding compliant value is either a settable property named identically to the key or a method named
|
|
SetValueForKeyPath ( this o, Object value, String keyPath ) : void | ||
SetValueForUndefinedKey ( this o, Object value, String key ) : void |
Called when
|
|
SetValuesForKeysWithDictionary ( this o, Object>.Dictionary |
Sets a dictionary of keys at once. Calls
|
public static SetNullValueForKey ( this o, String key ) : void | ||
o | this | The base object. |
key | String | The key to set to null. |
Результат | void |
public static SetValueForKey ( this o, Object value, String key ) : void | ||
o | this | The base object. |
value | Object | The value to set. |
key | String | The key to set. |
Результат | void |
public static SetValueForKeyPath ( this o, Object value, String keyPath ) : void | ||
o | this | |
value | Object | |
keyPath | String | |
Результат | void |
public static SetValueForUndefinedKey ( this o, Object value, String key ) : void | ||
o | this | The base object. |
value | Object | The value that should be set. |
key | String | The key the value should be set for. |
Результат | void |
public static SetValuesForKeysWithDictionary ( this o, Object>.Dictionary |
||
o | this | The base object. |
keysAndValues | Object>.Dictionary | A Dictionary of keys (NOT key paths) and values to set. |
Результат | void |