IndexOf()

XmlSchemaObjectCollection::IndexOf(const SharedPtr<XmlSchemaObject>&) method

Returns the collection index corresponding to the specified XmlSchemaObject.

int32_t System::Xml::Schema::XmlSchemaObjectCollection::IndexOf(const SharedPtr<XmlSchemaObject> &item)

Arguments

ParameterTypeDescription
itemconst SharedPtr<XmlSchemaObject>&The XmlSchemaObject whose index you want to return.

Return Value

The index corresponding to the specified XmlSchemaObject.

See Also