|
SerializerLoadT Method (String, T, SerializerCompression)
|
Loads an object from a file.
Namespace:
Accord.IO
Assembly:
Accord (in Accord.dll) Version: 3.8.0
Syntax public static T Load<T>(
string path,
out T value,
SerializerCompression compression
)
Public Shared Function Load(Of T) (
path As String,
<OutAttribute> ByRef value As T,
compression As SerializerCompression
) As T
Request Example
View SourceParameters
- path
- Type: SystemString
The path to the file from which the object is to be deserialized. - value
- Type: T
The object to be read. This parameter can be used to avoid the
need of specifying a generic argument to this function. - compression
- Type: Accord.IOSerializerCompression
The type of compression to use. Default is None.
Type Parameters
- T
Return Value
Type:
TThe deserialized object.
See Also