Convert an xml document to an object
| C# | Visual Basic | Visual C++ |
public static T XmlDeserialize<T>( XmlDocument xDoc, Type[] knownTypes )
Public Shared Function XmlDeserialize(Of T) ( _ xDoc As XmlDocument, _ knownTypes As Type() _ ) As T
public: generic<typename T> static T XmlDeserialize( XmlDocument^ xDoc, array<Type^>^ knownTypes )
- T
- The type of the object to be converted to
- xDoc (XmlDocument)
- The xml document
- knownTypes (array< Type >[]()[])
- Other types that it must known ahead to deserialize the object
The object representation as a result of the deserialization of the xml document