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 检查的项。

返回

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

适用于