Gets the DriverPath with the specified path or null. Namespace: Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)

Usage

Visual Basic
Dim driverPathCollection1 As DriverPathCollection

Dim key As String
Dim returnValue As DriverPath
returnValue = driverPathCollection1.Item(key)

Syntax

Visual Basic
Public Overridable ReadOnly Property Item( _
		ByVal folderPath As String _
) As DriverPath
C#
public virtual DriverPath this[
		string folderPath
] {get;}
C++
public:
property virtual DriverPath^ default[String^] {
		DriverPath^ get(String^ folderPath);
}
J#
public DriverPath get_Item(
		System.String folderPath
);
JScript
In JScript, you can use Indexed Properties defined by a class, but you cannot define your own.

Parameters

folderPath

The path to the folder that contains the out-of-box device driver files.

Property Value

The driver paths stored in various indexes in the collection.

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