Deserializes an object from the specified xml file.
Syntax
Visual Basic (Declaration) | |
---|
Public Shared Function DeserializeFile(Of T)( _
ByVal filename As String _
) As T |
Visual Basic (Usage) | Copy Code |
---|
Dim filename As String
Dim value As T
value = AddInUtils.DeserializeFile(Of T)(filename) |
Parameters
- filename
- The xml file of the object to deserialize.
Type Parameters
- T
- The type of object to deserialize.
Return Value
The deserialized object.
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
See Also