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.