ignoredatamember

  1. N

    Question Using IgnoreDataMemberAttribute for array types in a DataContract

    I have a class that I need to serialize using XmlSerializer. The class is declared as follows: <DataContract()> Public Class Recipient <DataMember()> Public Property ID() As Byte <DataMember()> Public Property Name() As String <IgnoreDataMember()> Public ReadOnly Property Gifts() As Gift()...
Back
Top