## System::dynamic_pointer_cast method


Convertit les pointeurs intelligents en utilisant dynamic_cast.

```cpp
template<class Y,class X> SmartPtr<Y> System::dynamic_pointer_cast(SmartPtr<X> const &x)
```


| Paramètre | Description |
| --- | --- |
| X | Type de l'objet pointé par le pointeur source. |
| Y | Type de pointeur cible pointé. |

| Paramètre | Type | Description |
| --- | --- | --- |
| x | SmartPtr\<X\> const\& | Pointeur source. |

### ReturnValue

Pointeur après conversion.

## Voir aussi

* Class [SmartPtr](../smartptr/)
* Namespace [System](../)
* Library [Aspose.Page for C++](../../)
