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

適用於