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

返回

如果该集合包含指定的 XmlArrayItemAttribute,则为 true;否则为 false

适用于