XmlArrayItemAttributes.IndexOf(XmlArrayItemAttribute) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the zero-based index of the first occurrence of the specified XmlArrayItemAttribute in the collection or -1 if the attribute is not found in the collection.
public:
int IndexOf(System::Xml::Serialization::XmlArrayItemAttribute ^ attribute);
public int IndexOf (System.Xml.Serialization.XmlArrayItemAttribute attribute);
public int IndexOf (System.Xml.Serialization.XmlArrayItemAttribute? attribute);
member this.IndexOf : System.Xml.Serialization.XmlArrayItemAttribute -> int
Public Function IndexOf (attribute As XmlArrayItemAttribute) As Integer
Parameters
- attribute
- XmlArrayItemAttribute
The XmlArrayItemAttribute to locate in the collection.
Returns
The first index of the XmlArrayItemAttribute in the collection or -1 if the attribute is not found in the collection.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.