Retrieves the collection of all packages in an image. Namespace: Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)

Usage

Visual Basic
Dim offlineImage1 As OfflineImage

Dim returnValue As ReadOnlyKeyedCollection(Of Identity, Package)
returnValue = offlineImage1.Packages

Syntax

Visual Basic
Public ReadOnly Property Packages() As ReadOnlyKeyedCollection(Of Identity, Package)
C#
public ReadOnlyKeyedCollection<Identity, Package> Packages {get;}
C++
public:
property ReadOnlyKeyedCollection<Identity^, Package^>^ Packages {
		ReadOnlyKeyedCollection<Identity^, Package^>^ get();
}
J#
public ReadOnlyKeyedCollection<Identity, Package> get_Packages();
JScript
JScript does not support Generics.

Property Value

A read-only collection of the packages in an 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

[an error occurred while processing this directive]