Version

Key Property (KeyedObjectBase)

The Key of the item in its collection.
Syntax
'Declaration
 
Public Overridable Property Key As String
public virtual string Key {get; set;}
Remarks

Developers should assign key names that are unique to the collection an object is stored within, when it is necessary to retrieve the object directly using the collection's GetItem method.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also