## XmlSchemaObjectCollection::IndexOf method


Returnerar samlingens index som motsvarar det angivna [XmlSchemaObject](../../xmlschemaobject/).

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


| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| item | const SharedPtr\<XmlSchemaObject\>\& | Det [XmlSchemaObject](../../xmlschemaobject/) vars index du vill returnera. |

### ReturnValue

Indexet som motsvarar det angivna [XmlSchemaObject](../../xmlschemaobject/).

## Se även

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlSchemaObject](../../xmlschemaobject/)
* Class [XmlSchemaObjectCollection](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.PDF for C++](../../../)
