Deserializers.Deserialize Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Deserialize<TData>(TextReader) |
Generic deserializer from a file into a data structure of type |
| Deserialize<TData>(String) |
Generic deserializer from a file into a data structure of type |
Deserialize<TData>(TextReader)
Generic deserializer from a file into a data structure of type TData.
public static TData Deserialize<TData> (System.IO.TextReader reader);
static member Deserialize : System.IO.TextReader -> 'Data
Public Shared Function Deserialize(Of TData) (reader As TextReader) As TData
Type Parameters
- TData
Type of data to be deserialized.
Parameters
- reader
- TextReader
Stream for reading Broombridge data.
Returns
- TData
Applies to
Deserialize<TData>(String)
Generic deserializer from a file into a data structure of type TData.
public static TData Deserialize<TData> (string filename);
static member Deserialize : string -> 'Data
Public Shared Function Deserialize(Of TData) (filename As String) As TData
Type Parameters
- TData
Type of data to be deserialized.
Parameters
- filename
- String
Path to data to be deserialized.
Returns
- TData