Retrieves the instance of Package that contains this 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 Package
returnValue = imageWindowsFeatureSelection1.ContainingPackage

Syntax

Visual Basic
Public ReadOnly Property ContainingPackage() As Package
C#
public Package ContainingPackage {get;}
C++
public:
property Package^ ContainingPackage {
		Package^ get();
}
J#
public Package get_ContainingPackage();
JScript
public function get ContainingPackage() : Package;

Property Value

The instance of Package that contains this Windows feature.

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