Retrieves the package identity based on the package name. Namespace: Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)

Usage

Visual Basic
Dim name As String
Dim returnValue As Identity
Dim offlineImage1 As OfflineImage
returnValue = offlineImage1.FindPackageIdentity(name)

Syntax

Visual Basic
Overloads Public Function FindPackageIdentity( _
		ByVal name As String _
) As Identity
C#
public Identity FindPackageIdentity(
		string name
);
C++
public:
Identity^ FindPackageIdentity(
		String^ name
);
J#
public Identity FindPackageIdentity(
		System.String name
);
JScript
public function FindPackageIdentity(
		 name : String
) : Identity;

Parameters

name

Name of the package.

Return Value

The full identity of the package.

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