3
属性、私は次のコードがありますちょうどリフレクションを使用しての表示/取得がクラス内
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute("Errors", typeof(ErrorsType))]
[System.Xml.Serialization.XmlElementAttribute("Success", typeof(SuccessType))]
[System.Xml.Serialization.XmlElementAttribute("Warnings", typeof(WarningsType))]
public object[] Items {
get {
return this.itemsField;
}
set {
this.itemsField = value;
}
}
を、それはこれらの属性を取得することは可能でしょうか? それぞれType
に「GetCustomAttributes()
」が表示されましたが、多くの喜びは得られませんでした。