Retrieves the full identity of a Microsoft component based on the component 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.FindComponentIdentity(name)

Syntax

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

Parameters

name

Name of component to search for.

Return Value

The full identity of the Microsoft component.

Remarks

If there are multiple identities, the method will return the most recent version.


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