Retrieves the offline image containing the package. Namespace: Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)

Usage

Visual Basic
Dim package1 As Package

Dim returnValue As OfflineImage
returnValue = package1.Parent

Dim sampleValue As OfflineImage
package1.Parent = sampleValue

Syntax

Visual Basic
Public Property Parent() As OfflineImage
C#
public OfflineImage Parent {get; set;}
C++
public:
property OfflineImage^ Parent {
		OfflineImage^ get();
protected:
		void set(OfflineImage^ value);
}
J#
public OfflineImage get_Parent();
public void set_Parent(OfflineImage);
JScript
public function get Parent() : OfflineImage;
public function set Parent(OfflineImage);

Property Value

The instance of OfflineImage specifying the offline Windows image that contains the package. The value is null if this instance is not retrieved from an offline Windows image.

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