Deserializes a document to an instance of type T.
            
 Declaration Syntax
 Declaration Syntax| C# | 
T FromDocument<T>( Document document )
 Generic Template Parameters
 Generic Template Parameters- T
- Type to populate.
 Parameters
 Parameters- document (Document)
- Document with properties to use.
 Return Value
 Return Value
            Object of type T, populated with properties from the document.