Persistate API documentation
ValueOf<(Of <(<'T>)>)> Method (obj)
NamespacesPersistatePersistentValueOf<(Of <<'(T>)>>)(Object)

[This is preliminary documentation and is subject to change.]

Returns the value of an object as a particular type.
Declaration Syntax
C#
public static T ValueOf<T>(
	Object obj
)
Generic Template Parameters
T
The type to return.
Parameters
obj (Object)
The object value.
Return Value
The supplied object value cast to the type, or the default value of the type if the object is null.

Assembly: Persistate (Module: Persistate) Version: 0.6.1.20 (0.6.1.20)