XmlQualifiedName.Equality(XmlQualifiedName, XmlQualifiedName) 操作员

定义

比较两个 XmlQualifiedName 对象。

public:
 static bool operator ==(System::Xml::XmlQualifiedName ^ a, System::Xml::XmlQualifiedName ^ b);
public static bool operator == (System.Xml.XmlQualifiedName a, System.Xml.XmlQualifiedName b);
public static bool operator == (System.Xml.XmlQualifiedName? a, System.Xml.XmlQualifiedName? b);
static member ( = ) : System.Xml.XmlQualifiedName * System.Xml.XmlQualifiedName -> bool
Public Shared Operator == (a As XmlQualifiedName, b As XmlQualifiedName) As Boolean

参数

a
XmlQualifiedName

一个要比较的 XmlQualifiedName

b
XmlQualifiedName

一个要比较的 XmlQualifiedName

返回

如果两个对象具有相同的名称和命名空间值,则为 true;否则为 false

注解

此运算符的等效方法是 XmlQualifiedName.Equals(Object)

适用于