## SmartPtr::dynamic_pointer_cast method


Esegue il cast del puntatore a un tipo diverso usando dynamic_cast sull'oggetto puntato.

```cpp
template<class Y> SmartPtr<Y> System::SmartPtr<T>::dynamic_pointer_cast() const
```


| Parametro | Descrizione |
| --- | --- |
| Y | Tipo di destinazione dell'oggetto puntato. |

### ReturnValue

Puntatore di tipo modificato che è sempre in modalità condivisa.

## Vedi anche

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