SerializationExtensions.ToObject(T) Method

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

SerializationExtensions.ToObject(T) Method

BR.AN.PviServices .NET


Deserialize the content of fileInfo into an instance of the given type

[Visual Basic]

<Extension> _

Public Overloads Shared Sub ToObject(Of T)( _

  ByVal fileInfo As FileInfo _

)

[C#]

[Extension]

public static T ToObject<T>(

  this FileInfo fileInfo

);

Parameters

fileInfo

The file information which's content should be deserialized.

Return Value

Either an instance of the type representing the data contents in the file. Or a default instance of the type in case an error occured.

See Also

SerializationExtensions Class | BR.AN.PviServices Namespace | SerializationExtensions.ToObject{T} Overload List


Generated from assembly BR.AN.PviServices [8.1.0.4]