I have a variable of type Object which is typeof InquireSubscription
public class InquireSubscription: object, System.ComponentModel.INotifyPropertyChanged
{
public string planId {get; set}
}
I want to retrieve the planId value but i am totally stuck in finding out how to access the properties out of the Object item
Please have a look at the Screenshot:
EDITED eligibilityResult
is of type SubscriptionEligibility
public partial class SubscriptionEligibility: object, System.ComponentModel.INotifyPropertyChanged
{
private object[] itemsField;
[System.Xml.Serialization.XmlElementAttribute("InquireSubscription", typeof(SubscriptionEligibility), Order=0)]
[System.Xml.Serialization.XmlElementAttribute("DeviceEligibilityResult", typeof(SubscriptionEligibility), Order=0)]
public object[] Items {
get {
return this.itemsField;
}
set {
this.itemsField = value;
this.RaisePropertyChanged("Items");
}
}