how to deserialize the below xml :
Need to read AdapterName,ConnectorIndex and ViewType
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Shashank PatilPosted Sep 7, 2015, 6:22 AM
[XmlElement("Adapter")]
public List
[XmlElement("Monitors")]
public List
}
{
[XmlAttribute("ConnectorIndex")]
public string connectorIndex { get; set;}
[XmlAttribute("ViewType")]
public string viewType { get; set;}
}
class Monitor
{
[XmlAttribute("ConnectorIndex")]
public string connectorIndex { get; set;}
[XmlAttribute("ViewType")]
public string viewType { get; set;}
}
Manas MohapatraPosted Sep 7, 2015, 6:18 AM