## X509ExtensionCollectionPtr::operator[] method


Accessor.

```cpp
SharedPtr<X509Extension> & System::Security::Cryptography::X509Certificates::X509ExtensionCollectionPtr::operator[](int32_t idx) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| idx | int32_t | [Index](../../../system/index/) of certificate to get. |

### ReturnValue

Certificate at specified position.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [X509Extension](../../x509extension/)
* Class [X509ExtensionCollectionPtr](../)
* Namespace [System::Security::Cryptography::X509Certificates](../../)
* Library [Aspose.PDF for C++](../../../)
