Checks if all the features in the path are enabled.
Namespace:
Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly:
Microsoft.ComponentStudio.ComponentPlatformInterface (in
microsoft.componentstudio.componentplatforminterface.dll)
Usage
Visual Basic |
Dim featurePath As String
Dim returnValue As Boolean
Dim packageAction1 As PackageAction
returnValue = packageAction1.AreFeaturesInPathEnabled(featurePath)
|
Syntax
Visual Basic |
Public Function AreFeaturesInPathEnabled( _
ByVal featurePath As String _
) As Boolean
|
C# |
public bool AreFeaturesInPathEnabled(
string featurePath
);
|
C++ |
public:
bool AreFeaturesInPathEnabled(
String^ featurePath
);
|
J# |
public boolean AreFeaturesInPathEnabled(
System.String featurePath
);
|
JScript |
public function AreFeaturesInPathEnabled(
featurePath : String
) : Boolean;
|
Parameters
- featurePath
-
Path containing Windows features (names delimited with a
slash).
Return Value
True if all features in the path are enabled,
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