XmlElementAttributes.Contains(XmlElementAttribute) Metod

Definition

Avgör om samlingen innehåller det angivna objektet.

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

Parametrar

attribute
XmlElementAttribute

Att XmlElementAttribute leta efter.

Returer

trueom objektet finns i samlingen; annars . false

Gäller för