XmlAnyElementAttributes.Contains(XmlAnyElementAttribute) 方法

定义

获取一个值,该值指示集合中是否存在指定的 XmlAnyElementAttribute

public:
 bool Contains(System::Xml::Serialization::XmlAnyElementAttribute ^ attribute);
public bool Contains (System.Xml.Serialization.XmlAnyElementAttribute attribute);
public bool Contains (System.Xml.Serialization.XmlAnyElementAttribute? attribute);
member this.Contains : System.Xml.Serialization.XmlAnyElementAttribute -> bool
Public Function Contains (attribute As XmlAnyElementAttribute) As Boolean

参数

返回

如果集合中存在该 XmlAnyElementAttribute,则为 true;否则为 false

适用于