Deserializes a document to an instance of type T.
| C# |
public T FromDocument<T>( Document document )
- T
- Type to populate.
- document (Document)
- Document with properties to use.
Object of type T, populated with properties from the document.