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)
|
C++/CLI | |
---|
public:
static T DeserializeFilegeneric<typename T>
(
String^ 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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family
See Also