Constructs an instance of Identity. Namespace: Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)

Usage

Visual Basic
Dim name As String
Dim publicKeyToken As String
Dim version As Version
Dim processorArchitecture As String
Dim language As String
Dim versionScope As String
Dim identity1 As New Identity(name, publicKeyToken, version, processorArchitecture, language, versionScope)

Syntax

Visual Basic
Public Sub New( _
		ByVal name As String, _
		ByVal publicKeyToken As String, _
		ByVal version As Version, _
		ByVal processorArchitecture As String, _
		ByVal language As String, _
		ByVal versionScope As String _
)
C#
public Identity(
		string name, 
		string publicKeyToken, 
		Version version, 
		string processorArchitecture, 
		string language, 
		string versionScope
);
C++
public:
Identity(
		String^ name, 
		String^ publicKeyToken, 
		Version^ version, 
		String^ processorArchitecture, 
		String^ language, 
		String^ versionScope
);
J#
public Identity(
		System.String name, 
		System.String publicKeyToken, 
		Version version, 
		System.String processorArchitecture, 
		System.String language, 
		System.String versionScope
);
JScript
public function Identity(
		 name : String, 
		 publicKeyToken : String, 
		 version : Version, 
		 processorArchitecture : String, 
		 language : String, 
		 versionScope : String
);

Parameters

name

Name of the component. See Name.

publicKeyToken

Public key token of the component. See PublicKeyToken.

version

Version of the component. A null version will match any version.

processorArchitecture

Processor architecture of the component. See ProcessorArchitecture.

language

Language of the component. See Language.

versionScope

Version scope of the identity. See VersionScope.

Remarks

You can pass null to any of the parameters.

ArgumentNullException is thrown if Name, PublicKeyToken, ProcessorArchitecture or Language is null.


Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Vista, and Windows 2000

Target Platforms

See Also