System::dynamic_pointer_cast method
System::dynamic_pointer_cast method
يحوّل المؤشرات الذكية باستخدام dynamic_cast.
template<class Y,class X> SmartPtr<Y> System::dynamic_pointer_cast(SmartPtr<X> const &x)
| Parameter | الوصف |
|---|---|
| X | نوع الكائن المشير إليه من المؤشر المصدر. |
| Y | نوع العنصر الذي يشير إليه المؤشر الهدف. |
| Parameter | Type | الوصف |
|---|---|---|
| x | SmartPtr<X> const& | مؤشر المصدر. |
ReturnValue
المؤشر بعد التحويل.
انظر أيضًا
- Class SmartPtr
- Namespace System
- Library Aspose.Page for C++