Serializes an object to a Document.
Declaration Syntax
C# |
public Document ToDocument<T>( T value )
Generic Template Parameters
- T
- Type to serialize as.
Parameters
- value (T)
- Object to serialize.
Return Value
Document with attributes populated from object.