## System::static_pointer_cast method


static_cast kullanarak akıllı işaretçileri dönüştürür.

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


| Parameter | Açıklama |
| --- | --- |
| X | Kaynak işaretçinin işaret ettiği nesnenin türü. |
| Y | Hedef göstericinin işaret ettiği tip. |

| Parameter | Type | Açıklama |
| --- | --- | --- |
| x | SmartPtr\<X\> const\& | Kaynak işaretçi. |

### ReturnValue

Dönüştürmeden sonraki gösterici.

## Ayrıca Bakınız

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