Retrieves the name of the child setting that is defined as the list item key if this setting is a list item. Namespace: Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)

Usage

Visual Basic
Dim settingDefinition1 As SettingDefinition

Dim returnValue As String
returnValue = settingDefinition1.KeyName

Syntax

Visual Basic
Public MustOverride ReadOnly Property KeyName() As String
C#
public abstract string KeyName {get;}
C++
public:
property virtual String^ KeyName {
		String^ get();
}
J#
public abstract System.String get_KeyName();
JScript
public abstract function get KeyName() : String;

Property Value

The name of the child setting that is defined as the list item key if this setting is a list item, otherwise returns null.

Remarks

If the setting is a normal list item, the key name will be the name of the child setting that must be uniquely defined in the list. If the setting is a dynamic list item, the key name will always be @keyValue. Otherwise the value will be null.


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Vista, and Windows 2000

Target Platforms

See Also