Retrieves the source path of the Windows image file. Namespace: Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)

Usage

Visual Basic
Dim offlineImageInfo1 As OfflineImageInfo

Dim returnValue As String
returnValue = offlineImageInfo1.SourcePath

Syntax

Visual Basic
Public MustOverride ReadOnly Property SourcePath() As String
C#
public abstract string SourcePath {get;}
C++
public:
property virtual String^ SourcePath {
		String^ get();
}
J#
public abstract System.String get_SourcePath();
JScript
public abstract function get SourcePath() : String;

Property Value

The source path of the Windows image file.

Remarks

If the offline Windows image is specified by a folder (Type is Folder), returns the root of the folder.

If the offline Windows image is specified by a catalog (Type is Catalog), returns the path of the catalog file.

If the offline Windows image is inside a .wim file (Type is Wim), returns the path of the .wim file.

If the source path is an uncompressed image, it returns the path of the uncompressed folder.

If the image is in an uncompressed folder, returns the root of the folder (same as ImageRoot). If the image is in a .wim file, returns the path of the .wim file.


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]