Method GetAs
GetAs<T>(DeserializationSettings)
Returns the object as a defined type.
Declaration
public T GetAs<T>(DeserializationSettings deserializationSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| DeserializationSettings | deserializationSettings | Deserialization settings for how to handle properties like missing members. |
Returns
| Type | Description |
|---|---|
| T | The internal object case to type T. |
Type Parameters
| Name | Description |
|---|---|
| T | The type to cast internal object to. |
Implements
GetAs<T>()
Overload for returning the object as a defined type but without needing to specify DeserializationSettings.
Declaration
public T GetAs<T>()
Returns
| Type | Description |
|---|---|
| T | The internal object case to type T. |
Type Parameters
| Name | Description |
|---|---|
| T | The type to cast internal object to. |