共用方式為


XmlArrayItemAttributes.Contains(XmlArrayItemAttribute) 方法

定義

判斷集合是否包含指定的 XmlArrayItemAttribute

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

參數

attribute
XmlArrayItemAttribute

要檢查的 XmlArrayItemAttribute

傳回

Boolean

如果集合包含指定的 XmlArrayItemAttribute,則為 true,否則為 false

適用於