XmlElementAttributes.Contains(XmlElementAttribute) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
判斷集合是否包含指定的物件。
public:
bool Contains(System::Xml::Serialization::XmlElementAttribute ^ attribute);
public bool Contains(System.Xml.Serialization.XmlElementAttribute attribute);
public bool Contains(System.Xml.Serialization.XmlElementAttribute? attribute);
member this.Contains : System.Xml.Serialization.XmlElementAttribute -> bool
Public Function Contains (attribute As XmlElementAttribute) As Boolean
參數
- attribute
- XmlElementAttribute
值得關注的。XmlElementAttribute
傳回
true如果該物件存在於集合中;否則,。 false