Retrieves the Windows foundation Package ID. Namespace: Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)

Usage

Visual Basic
Dim offlineImage1 As OfflineImage

Dim returnValue As Identity
returnValue = offlineImage1.WindowsFoundationPackageId

Dim sampleValue As Identity
offlineImage1.WindowsFoundationPackageId = sampleValue

Syntax

Visual Basic
Public Property WindowsFoundationPackageId() As Identity
C#
public Identity WindowsFoundationPackageId {get; set;}
C++
public:
property Identity^ WindowsFoundationPackageId {
		Identity^ get();
protected:
		void set(Identity^ value);
}
J#
public Identity get_WindowsFoundationPackageId();
public void set_WindowsFoundationPackageId(Identity);
JScript
public function get WindowsFoundationPackageId() : Identity;
public function set WindowsFoundationPackageId(Identity);

Property Value

The identity of the Windows foundation package.

Remarks

All customer-editable Windows features are defined in the Windows Foundation package. To enable or disable a Windows feature, create an instance of PackageAction to configure the Windows Foundation package in the answer file, and then modify the Enabled property of the individual Windows feature exposed by WindowsFeatureSelections.


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