[This is preliminary documentation and is subject to change.]

Sets a value of the given key to null. Equivalent to Cocoa's –setNilValueForKey:.

Namespace:  KNKVC
Assembly:  KNKVC (in KNKVC.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static void setNullValueForKey(
	this Object o,
	string key
)
Visual Basic (Declaration)
<ExtensionAttribute> _
Public Shared Sub setNullValueForKey ( _
	o As Object, _
	key As String _
)
Visual C++
[ExtensionAttribute]
public:
static void setNullValueForKey(
	Object^ o, 
	String^ key
)

Parameters

o
Type: System..::.Object
The base object.
key
Type: System..::.String
The key to set to null.

See Also