## SmartPtr::dynamic_pointer_cast method


dynamic_cast를 사용해 가리키는 객체를 다른 타입으로 캐스팅합니다.

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


| 매개변수 | 설명 |
| --- | --- |
| Y | 가리키는 객체의 대상 타입. |

### ReturnValue

항상 공유 모드인 변경된 타입의 포인터.

## 또 보기

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