# Deserialize<T>(Stream) Method Deserializes an object to a given *T* type. ## Definition **Namespace:** CapyKit.Helpers **Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0+6cdd805be49c3b769a116584ea6904955ecd820d **C#** ``` C# public static T Deserialize( Stream stream ) ``` **VB** ``` VB Public Shared Function Deserialize(Of T) ( stream As Stream ) As T ``` **C++** ``` C++ public: generic static T Deserialize( Stream^ stream ) ``` **F#** ``` F# static member Deserialize : stream : Stream -> 'T ``` #### Parameters
  Stream
The steam.
#### Type Parameters
Generic type parameter.
#### Return Value T A *T* object. ## Exceptions
FormatException Thrown when the format of an input is incorrect.
## See Also #### Reference SerializationHelper Class Deserialize Overload CapyKit.Helpers Namespace