Retrieves or sets the installation state of the Windows feature.
Namespace:
Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly:
Microsoft.ComponentStudio.ComponentPlatformInterface (in
microsoft.componentstudio.componentplatforminterface.dll)
Usage
Visual Basic |
Dim answerFileWindowsFeatureSelection1 As AnswerFileWindowsFeatureSelection
Dim returnValue As Boolean
returnValue = answerFileWindowsFeatureSelection1.Enabled
Dim sampleValue As Boolean
answerFileWindowsFeatureSelection1.Enabled = sampleValue
|
Syntax
Visual Basic |
Public Property Enabled() As Boolean
|
C# |
public bool Enabled {get; set;}
|
C++ |
public:
property bool Enabled {
bool get();
void set(bool value);
}
|
J# |
public boolean get_Enabled();
public void set_Enabled(boolean);
|
JScript |
public function get Enabled() : Boolean;
public function set Enabled(Boolean);
|
Property Value
True if 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