ExtensionsConvertionsAs Method |
Name | Description | |
---|---|---|
AsT(Object) |
Performs a cast between compatible reference types. If a convertion is not possible then
null is returned. As a last resort it will use ChangeType(Object, Type).
Tries to use the implicit and explicit operators if exists when convertion with 'as'
returns null.
| |
As(Object, Type) |
Converts a type using the implicit or explicit operators. If both fails it will try to
convert the value with ChangeType(Object, Type).
| |
As(Object, Type, Type) |
Converts a type using the implicit or explicit operators. If both fails it will try to
convert the value with ChangeType(Object, Type).
|