Creates an instance of OfflineImage. Namespace: Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)

Usage

Visual Basic
Dim imageInfo As OfflineImageInfo
Dim returnValue As OfflineImage
Dim cpi1 As Cpi
returnValue = cpi1.OpenOfflineImage(imageInfo)

Syntax

Visual Basic
Overloads Public Function OpenOfflineImage( _
		ByVal imageInfo As OfflineImageInfo _
) As OfflineImage
C#
public OfflineImage OpenOfflineImage(
		OfflineImageInfo imageInfo
);
C++
public:
OfflineImage^ OpenOfflineImage(
		OfflineImageInfo^ imageInfo
);
J#
public OfflineImage OpenOfflineImage(
		OfflineImageInfo imageInfo
);
JScript
public function OpenOfflineImage(
		 imageInfo : OfflineImageInfo
) : OfflineImage;

Parameters

imageInfo

An instance of OfflineImageInfo that describes the offline image.

Return Value

An instance of OfflineImage.

Remarks

System.ArgumentNullException is thrown if imageInfo is null.

System.InvalidOperationException is thrown if offline image cannot be opened.


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]