Retrieves the setting definition from the specified path. Namespace: Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)

Usage

Visual Basic
Dim relativeSettingDefinitionPath As String
Dim returnValue As SettingDefinition
Dim componentSettingDefinitionCollection1 As ComponentSettingDefinitionCollection
returnValue = componentSettingDefinitionCollection1.Find(relativeSettingDefinitionPath)

Syntax

Visual Basic
Public Function Find( _
		ByVal relativeSettingDefinitionPath As String _
) As SettingDefinition
C#
public SettingDefinition Find(
		string relativeSettingDefinitionPath
);
C++
public:
SettingDefinition^ Find(
		String^ relativeSettingDefinitionPath
);
J#
public SettingDefinition Find(
		System.String relativeSettingDefinitionPath
);
JScript
public function Find(
		 relativeSettingDefinitionPath : String
) : SettingDefinition;

Parameters

relativeSettingDefinitionPath

Setting path

Return Value

An instance of ComponentSettingDefinitionCollection that matches the relativeSettingDefinitionPath.

Remarks

Use / to separate different levels of settings. For example, to retrieve a setting named subSettings1 which is a subsetting of settings1, use settings1/subSettings1.

Throws the exception Troubleshooting System.ArgumentNullException Exceptions if relativeSettingDefinitionPath is null or empty.


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