Checks whether an out-of-box device driver is already in the
collection.
Namespace:
Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly:
Microsoft.ComponentStudio.ComponentPlatformInterface (in
microsoft.componentstudio.componentplatforminterface.dll)
Usage
Visual Basic |
Dim folderPath As String
Dim returnValue As Boolean
Dim driverPathCollection1 As DriverPathCollection
returnValue = driverPathCollection1.Contains(folderPath)
|
Syntax
Visual Basic |
Public NotOverridable Function Contains( _
ByVal folderPath As String _
) As Boolean
|
C# |
public sealed bool Contains(
string folderPath
);
|
C++ |
public:
virtual bool arbitrary-name(
String^ folderPath
) sealed = Contains;
|
J# |
public final boolean Contains(
System.String folderPath
);
|
JScript |
public final function Contains(
folderPath : String
) : Boolean;
|
Parameters
- folderPath
-
The path to the folder that contains the out-of-box device
driver files.
Return Value
True if if the device driver is found in the collection,
false otherwise.
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