Retrieves the installation status of the Windows feature. Namespace: Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)

Usage

Visual Basic
Dim imageWindowsFeatureSelection1 As ImageWindowsFeatureSelection

Dim returnValue As Boolean
returnValue = imageWindowsFeatureSelection1.Enabled

Syntax

Visual Basic
Public ReadOnly Property Enabled() As Boolean
C#
public bool Enabled {get;}
C++
public:
property bool Enabled {
		bool get();
}
J#
public boolean get_Enabled();
JScript
public function get Enabled() : Boolean;

Property Value

True if the Windows feature is already installed in the offline image, 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