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.AssemblyQualifiedNameFor information about qualified assembly names, see Type.AssemblyQualifiedName.

适用于