Retrieves the key value string from the name in the format [KeyName="value"]. Namespace: Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)

Usage

Visual Basic
Dim name As String
Dim returnValue As String
Dim settingDefinition1 As SettingDefinition
returnValue = settingDefinition1.GetListItemKeyFromName(name)

Syntax

Visual Basic
Public Overridable Function GetListItemKeyFromName( _
		ByVal name As String _
) As String
C#
public virtual string GetListItemKeyFromName(
		string name
);
C++
public:
virtual String^ GetListItemKeyFromName(
		String^ name
);
J#
public System.String GetListItemKeyFromName(
		System.String name
);
JScript
public function GetListItemKeyFromName(
		 name : String
) : String;

Parameters

name

Name of a corresponding setting override (in the format [KeyName="value"]).

Return Value

The key value string.

Remarks

If you have a list setting override and want to get the key value, you can call the setting override definition GetListItemKeyFromName and provide the name of the override.


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