Converts the string representation of an identity to its Identity equivalent. Namespace: Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)

Usage

Visual Basic
Dim id As String
Dim returnValue As Identity
returnValue = Identity.Parse(id)

Syntax

Visual Basic
Public Shared Function Parse( _
		ByVal id As String _
) As Identity
C#
public static Identity Parse(
		string id
);
C++
public:
static Identity^ Parse(
		String^ id
);
J#
public static Identity Parse(
		System.String id
);
JScript
public static function Parse(
		 id : String
) : Identity;

Parameters

id

String representation of an identity.

Return Value

An instance of Identity.

Remarks

ArgumentNullException is thrown if id is null.

FormatException is thrown if id cannot be converted to Identity.


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]