Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)
Usage
Visual Basic |
---|
Dim path As String Dim returnValue As OfflineImage Dim cpi1 As Cpi returnValue = cpi1.OpenOfflineImage(path) |
Syntax
Visual Basic |
---|
Overloads Public Function OpenOfflineImage( _ ByVal path As String _ ) As OfflineImage |
C# |
---|
public OfflineImage OpenOfflineImage( string path ); |
C++ |
---|
public: OfflineImage^ OpenOfflineImage( String^ path ); |
J# |
---|
public OfflineImage OpenOfflineImage( System.String path ); |
JScript |
---|
public function OpenOfflineImage( path : String ) : OfflineImage; |
Parameters
- path
-
String representation of an offline image. See GetOfflineImageInfo.
Return Value
An instance of OfflineImage.Remarks
This method requires the catalog (.clg) file that matches the offline image to be present. For information about creating catalog files, see CreateCatalog.
System.ArgumentNullException is thrown if path 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.