Gets a key which is connected with an object obj.

Namespace:  SGP.XUtility
Assembly:  SGP.XUtility (in SGP.XUtility.dll)
Version: 1.2.3019.18718

Syntax

C#
public Object GetKey(
	Object obj
)

Parameters

obj
Type: System..::.Object
Object to get a key.

Return Value

Returns an key to the object, if the object is not in the collection, returns nullNothingnullptra null reference (Nothing in Visual Basic).

See Also