Assembly.CreateQualifiedName(String, String) Assembly.CreateQualifiedName(String, String) Assembly.CreateQualifiedName(String, String) Assembly.CreateQualifiedName(String, String) Method

定义

创建由类型的程序集的显示名称限定的类型的名称。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);
static member CreateQualifiedName : string * string -> string
Public Shared Function CreateQualifiedName (assemblyName As String, typeName As String) As String

参数

assemblyName
String String String String

程序集的显示名称。The display name of an assembly.

typeName
String String String String

类型的全名。The full name of a type.

返回

由程序集的显示名称限定的类型的完整名称。The full name of the type qualified by the display name of the assembly.

注解

返回的字符串的格式为:The format of the returned string is:

<FullTypeName >, <AssemblyDisplayName ><FullTypeName>, <AssemblyDisplayName>

有关AssemblyName程序集显示名称的格式的说明,请参阅。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. 有关限定的程序集名称的信息Type.AssemblyQualifiedName,请参阅。For information about qualified assembly names, see Type.AssemblyQualifiedName.

适用于