 | SerializationUtilsReadXml Method |
Deserializes an object of the specified type from the specified XML reader.
Namespace: Slash.Serialization.UtilsAssembly: Slash.Serialization (in Slash.Serialization.dll) Version: 1.0.6018.40176
Syntaxpublic static Object ReadXml(
XmlReader reader,
Type type,
string elementName
)
Public Shared Function ReadXml (
reader As XmlReader,
type As Type,
elementName As String
) As Object
public:
static Object^ ReadXml(
XmlReader^ reader,
Type^ type,
String^ elementName
)
static member ReadXml :
reader : XmlReader *
type : Type *
elementName : string -> Object
Parameters
- reader
- Type: System.XmlXmlReader
XML reader to read object from. - type
- Type: SystemType
Type of object to deserialize. - elementName
- Type: SystemString
Element node name the object is serialized under.
Return Value
Type:
ObjectDeserialized object.
See Also