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

参数

attribute
XmlAnyElementAttribute

XmlAnyElementAttribute你感兴趣的。

返回

如果集合中存在,则

适用于