## ObjectExt::UnboxToNullable method


Entboxt Objekt zu nullable Typ.

```cpp
template<class T> static Nullable<T> System::ObjectExt::UnboxToNullable(const SmartPtr<Object> &obj, bool safe=true)
```


| Parameter | Beschreibung |
| --- | --- |
| T | Zieltyp. |

| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| obj | const SmartPtr\<Object\>\& | [Object](../../object/) zum Entpacken. |
| sicher | bool | Wenn true, gibt bei einem Fehler nullptr zurück, andernfalls wird InvalidCastException ausgelöst. |

### ReturnValue

Entpackter nullable Wert (kann null sein).

## Siehe auch

* Class [Nullable](../../nullable/)
* Class [SmartPtr](../../smartptr/)
* Class [Object](../../object/)
* Class [ObjectExt](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
