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
public static T ValueOf<T>(
	Object obj
Generic Template Parameters
The type to return.
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: (