WorkflowMarkupSerializationManager.GetXmlQualifiedName(Type, String) 方法

定义

返回与指定类型关联的 XML 限定名。Returns the XML-qualified name associated with the specified type.

public:
 virtual System::Xml::XmlQualifiedName ^ GetXmlQualifiedName(Type ^ type, [Runtime::InteropServices::Out] System::String ^ % prefix);
public virtual System.Xml.XmlQualifiedName GetXmlQualifiedName (Type type, out string prefix);
abstract member GetXmlQualifiedName : Type * string -> System.Xml.XmlQualifiedName
override this.GetXmlQualifiedName : Type * string -> System.Xml.XmlQualifiedName
Public Overridable Function GetXmlQualifiedName (type As Type, ByRef prefix As String) As XmlQualifiedName

参数

type
Type

要返回其 XML 限定名的 TypeThe Type for which to return the XML-qualified name.

prefix
String

当此方法返回时,包含限定名的 XML 前缀;如果没有定义前缀,则为空字符串。When this method returns, contains the XML prefix for the qualified name or an empty string if no prefix is defined. 此参数未经初始化即被传递。This parameter is passed uninitialized.

返回

XmlQualifiedName

XmlQualifiedName 关联的 typeThe XmlQualifiedName associated with type.

例外

type 包含空引用(在 Visual Basic 中为 Nothing)。type contains a null reference (Nothing in Visual Basic).

适用于