## System::AsCast(const Source\&) method


Kaynak tipi, 'as' operatör dönüşümü kullanarak sonuç tipine dönüştürür. Basit yapıcı benzeri dönüşüm gerektiğinde kullanılır.

```cpp
template<typename Result,typename Source> std::enable_if_t<Details::CastType<Source, Result>::Static, Result> System::AsCast(const Source &value)
```


| Parametre | Açıklama |
| --- | --- |
| Kaynak | Kaynak tipi. |
| Result | Sonuç tipi. |

| Parametre | Tür | Açıklama |
| --- | --- | --- |
| value | const Source\& | Dönüştürülecek [Object](../object/). |

### ReturnValue

Dönüşüm sonucu.

## Ayrıca Bakınız

* Namespace [System](../)
* Library [Aspose.Font for C++](../../)
## System::AsCast(const Source\&) method


Kaynak tipi, 'as' operatör dönüşümü kullanarak sonuç tipine dönüştürür. Kaynak ve sonuç tipleri aynı olduğunda kullanılır.

```cpp
template<typename Result,typename Source> std::enable_if_t<Details::CastType<Source, Result>::None, Result> System::AsCast(const Source &value)
```


| Parametre | Açıklama |
| --- | --- |
| Kaynak | Kaynak tipi. |
| Result | Sonuç tipi. |

| Parametre | Tür | Açıklama |
| --- | --- | --- |
| value | const Source\& | Dönüştürülecek [Object](../object/). |

### ReturnValue

Dönüşüm sonucu.

## Ayrıca Bakınız

* Enum [Base64FormattingOptions](../base64formattingoptions/)
* Namespace [System](../)
* Library [Aspose.Font for C++](../../)
## System::AsCast(const Source\&) method


Kaynak tipi, 'as' operatör dönüşümü kullanarak sonuç tipine dönüştürür. İstisna sarmalayıcıları için kullanılır.

```cpp
template<typename Result,typename Source> std::enable_if_t<Details::CastType<Source, Result>::Exception, Result> System::AsCast(const Source &value)
```


| Parametre | Açıklama |
| --- | --- |
| Kaynak | Kaynak tipi. |
| Result | Sonuç tipi. |

| Parametre | Tür | Açıklama |
| --- | --- | --- |
| value | const Source\& | Dönüştürülecek [Object](../object/). |

### ReturnValue

Dönüşüm sonucu. Dönüştürme mevcut değilse nullptr döndürür.

## Ayrıca Bakınız

* Typedef [Exception](../exception/)
* Namespace [System](../)
* Library [Aspose.Font for C++](../../)
## System::AsCast(const Source\&) method


'as' operatörü kullanılarak kaynak türü sonuç türüne dönüştürülür. Nesneyi istisna'ya dönüştürmek için kullanılır.

```cpp
template<typename Result,typename Source> std::enable_if_t<Details::CastType<Source, Result>::ObjectToException, Result> System::AsCast(const Source &value)
```


| Parametre | Açıklama |
| --- | --- |
| Kaynak | Kaynak tipi. |
| Result | Sonuç tipi. |

| Parametre | Tür | Açıklama |
| --- | --- | --- |
| value | const Source\& | Dönüştürülecek [Object](../object/). |

### ReturnValue

Dönüşüm sonucu. Dönüştürme mevcut değilse nullptr döndürür.

## Ayrıca Bakınız

* Namespace [System](../)
* Library [Aspose.Font for C++](../../)
## System::AsCast(const Source\&) method


'as' operatörü kullanılarak kaynak türü sonuç türüne dönüştürülür. Kaynak ve sonucun ikisi de akıllı işaretçi olduğunda kullanılır.

```cpp
template<typename Result,typename Source> std::enable_if_t<Details::CastType<Source, Result>::Pointer, typename CastResult<Result>::type> System::AsCast(const Source &value)
```


| Parametre | Açıklama |
| --- | --- |
| Kaynak | Kaynak tipi. |
| Result | Sonuç tipi. |

| Parametre | Tür | Açıklama |
| --- | --- | --- |
| value | const Source\& | Dönüştürülecek [Object](../object/). |

### ReturnValue

Dönüşüm sonucu. Dönüştürme mevcut değilse nullptr döndürür.

## Ayrıca Bakınız

* Namespace [System](../)
* Library [Aspose.Font for C++](../../)
## System::AsCast(const Source\&) method


'as' operatörü kullanılarak kaynak türü sonuç türüne dönüştürülür. Kaynak ve sonucun ikisi de akıllı işaretçi olduğunda (sonuç türünde açıkça [SmartPtr<...>](../smartptr/) ile) kullanılır.

```cpp
template<typename Result,typename Source> std::enable_if_t<Details::CastType<Source, Result>::PointerToPointer, Result> System::AsCast(const Source &value)
```


| Parametre | Açıklama |
| --- | --- |
| Kaynak | Kaynak tipi. |
| Result | Sonuç tipi. |

| Parametre | Tür | Açıklama |
| --- | --- | --- |
| value | const Source\& | Dönüştürülecek [Object](../object/). |

### ReturnValue

Dönüşüm sonucu. Dönüştürme mevcut değilse nullptr döndürür.

## Ayrıca Bakınız

* Namespace [System](../)
* Library [Aspose.Font for C++](../../)
## System::AsCast(const Source\&) method


'as' operatörü kullanılarak kaynak türü sonuç türüne dönüştürülür. Nesneyi nullable'a ayıklamak (unboxing) için kullanılır.

```cpp
template<typename Result,typename Source> std::enable_if_t<Details::CastType<Source, Result>::UnboxingToNullable, Result> System::AsCast(const Source &value)
```


| Parametre | Açıklama |
| --- | --- |
| Kaynak | Kaynak tipi. |
| Result | Sonuç tipi. |

| Parametre | Tür | Açıklama |
| --- | --- | --- |
| value | const Source\& | Dönüştürülecek [Object](../object/). |

### ReturnValue

Dönüşüm sonucu. Dönüştürme mevcut değilse boş nullable döndürür.

## Ayrıca Bakınız

* Namespace [System](../)
* Library [Aspose.Font for C++](../../)
## System::AsCast(const Source\&) method


'as' operatörü kullanılarak kaynak türü sonuç türüne dönüştürülür. Nesne olmayan türe geçersiz ayıklama (unboxing).

```cpp
template<typename Result,typename Source> std::enable_if_t<Details::CastType<Source, Result>::InterfaceUnboxingToNullable, Result> System::AsCast(const Source &value)
```


| Parametre | Açıklama |
| --- | --- |
| Kaynak | Kaynak tipi. |
| Result | Sonuç tipi. |

| Parametre | Tür | Açıklama |
| --- | --- | --- |
| value | const Source\& | Dönüştürülecek [Object](../object/). |

### ReturnValue

Her zaman null döndürür.

## Ayrıca Bakınız

* Namespace [System](../)
* Library [Aspose.Font for C++](../../)
## System::AsCast(const Source\&) method


Nesne olmayan türe geçersiz ayıklama.

```cpp
template<typename Result,typename Source> std::enable_if_t<Details::CastType<Source, Result>::InvalidUnboxing, Result> System::AsCast(const Source &value)
```


| Parametre | Açıklama |
| --- | --- |
| Kaynak | Kaynak tipi. |
| Result | Sonuç tipi. |

| Parametre | Tür | Açıklama |
| --- | --- | --- |
| value | const Source\& | Dönüştürülecek [Object](../object/). |

### ReturnValue

Her zaman null döndürür.

## Ayrıca Bakınız

* Namespace [System](../)
* Library [Aspose.Font for C++](../../)
## System::AsCast(const Source\&) method


'as' operatörü kullanılarak kaynak türü sonuç türüne dönüştürülür. Nullable nesneyi kutulamak (boxing) için kullanılır.

```cpp
template<typename Result,typename Source> std::enable_if_t<Details::CastType<Source, Result>::NullableBoxing, Result> System::AsCast(const Source &value)
```


| Parametre | Açıklama |
| --- | --- |
| Kaynak | Kaynak tipi. |
| Result | Sonuç tipi. |

| Parametre | Tür | Açıklama |
| --- | --- | --- |
| value | const Source\& | Dönüştürülecek [Object](../object/). |

### ReturnValue

Dönüşüm sonucu.

## Ayrıca Bakınız

* Namespace [System](../)
* Library [Aspose.Font for C++](../../)
## System::AsCast(const Source\&) method


'as' operatörü kullanılarak kaynak türü sonuç türüne dönüştürülür. Genel nesneyi kutulamak için kullanılır.

```cpp
template<typename Result,typename Source> std::enable_if_t<Details::CastType<Source, Result>::InterfaceBoxing, typename CastResult<Result>::type> System::AsCast(const Source &value)
```


| Parametre | Açıklama |
| --- | --- |
| Kaynak | Kaynak tipi. |
| Result | Sonuç tipi. |

| Parametre | Tür | Açıklama |
| --- | --- | --- |
| value | const Source\& | Dönüştürülecek [Object](../object/). |

### ReturnValue

Dönüşüm sonucu.

## Ayrıca Bakınız

* Namespace [System](../)
* Library [Aspose.Font for C++](../../)
## System::AsCast(const Source\&) method


'as' operatörü kullanılarak kaynak türü sonuç türüne dönüştürülür. Genel nesneyi kutulamak için kullanılır.

```cpp
template<typename Result,typename Source> std::enable_if_t<Details::CastType<Source, Result>::Boxing, typename CastResult<Result>::type> System::AsCast(const Source &value)
```


| Parametre | Açıklama |
| --- | --- |
| Kaynak | Kaynak tipi. |
| Result | Sonuç tipi. |

| Parametre | Tür | Açıklama |
| --- | --- | --- |
| value | const Source\& | Dönüştürülecek [Object](../object/). |

### ReturnValue

Dönüşüm sonucu.

## Ayrıca Bakınız

* Namespace [System](../)
* Library [Aspose.Font for C++](../../)
## System::AsCast(const Source\&) method


'as' operatörü kullanılarak kaynak türü sonuç türüne dönüştürülür. Dize ayıklama (unboxing) için kullanılır.

```cpp
template<typename Result,typename Source> std::enable_if_t<Details::CastType<Source, Result>::UnboxingToString, Result> System::AsCast(const Source &value)
```


| Parametre | Açıklama |
| --- | --- |
| Kaynak | Kaynak tipi. |
| Result | Sonuç tipi. |

| Parametre | Tür | Açıklama |
| --- | --- | --- |
| value | const Source\& | Dönüştürülecek [Object](../object/). |

### ReturnValue

Dönüşüm sonucu.

## Ayrıca Bakınız

* Namespace [System](../)
* Library [Aspose.Font for C++](../../)
## System::AsCast(const Source\&) method


'as' operatörü kullanılarak kaynak türü sonuç türüne dönüştürülür. nullptr durumunda kullanılır.

```cpp
template<typename Result,typename Source> std::enable_if_t<Details::CastType<Source, Result>::Null, typename CastResult<Result>::type> System::AsCast(const Source &value)
```


| Parametre | Açıklama |
| --- | --- |
| Kaynak | Kaynak tipi. |
| Result | Sonuç tipi. |

| Parametre | Tür | Açıklama |
| --- | --- | --- |
| value | const Source\& | Dönüştürülecek [Object](../object/). |

### ReturnValue

Dönüşüm sonucu.

## Ayrıca Bakınız

* Namespace [System](../)
* Library [Aspose.Font for C++](../../)
## System::AsCast(const Source\&) method


'as' operatörü kullanılarak kaynak türü sonuç türüne dönüştürülür. Diziler arasında dönüştürme yapmak için kullanılır.

```cpp
template<typename Result,typename Source> std::enable_if_t<Details::CastType<Source, Result>::Array, typename CastResult<Result>::type> System::AsCast(const Source &value)
```


| Parametre | Açıklama |
| --- | --- |
| Kaynak | Kaynak tipi. |
| Result | Sonuç tipi. |

| Parametre | Tür | Açıklama |
| --- | --- | --- |
| value | const Source\& | Dönüştürülecek [Object](../object/). |

### ReturnValue

Dönüşüm sonucu. Herhangi bir dizi üyesi için dönüşüm mevcut değilse nullptr döndürür.

## Ayrıca Bakınız

* Namespace [System](../)
* Library [Aspose.Font for C++](../../)
