Bewerken

Delen via


Assembly.CreateQualifiedName(String, String) Method

Definition

Creates the name of a type qualified by the display name of its assembly.

public:
 static System::String ^ CreateQualifiedName(System::String ^ assemblyName, System::String ^ typeName);
public static string CreateQualifiedName (string? assemblyName, string? typeName);
public static string CreateQualifiedName (string assemblyName, string typeName);
static member CreateQualifiedName : string * string -> string
Public Shared Function CreateQualifiedName (assemblyName As String, typeName As String) As String

Parameters

assemblyName
String

The display name of an assembly.

typeName
String

The full name of a type.

Returns

The full name of the type qualified by the display name of the assembly.

Remarks

The format of the returned string is:

<FullTypeName>, <AssemblyDisplayName>

See AssemblyName for a description of the format of the display name of an assembly.

To accommodate changes in versions of the common language runtime, use this method rather than constructing the qualified name yourself. For information about qualified assembly names, see Type.AssemblyQualifiedName.

Applies to