Export (0) Print
Expand All

ContentSerializerAttribute Members

The following tables list the members exposed by the ContentSerializerAttribute type.

NameDescription
Public PropertyAllowNullGet or set a value indicating whether this member can have a null value (default=true).
Public PropertyCollectionItemNameGets or sets the XML element name for each item in a collection (default = "Item").
Public PropertyElementNameGets or sets the XML element name (default=name of the managed type member).
Public PropertyFlattenContent Gets or sets a value idicating whether to write member contents directly into the current XML context rather than wrapping the member in a new XML element (default=false).
Public PropertyHasCollectionItemNameIndicates whether an explicit CollectionItemName string is being used or the default value.
Public PropertyOptional Indicates whether to write this element if the member is null and skip past it if not found when deserializing XML (default=false).
Public PropertySharedResource Indicates whether this member is referenced from multiple parents and should be serialized as a unique ID reference (default=false).

NameDescription
Public MethodCloneCreates a copy of the ContentSerializerAttribute.
Public MethodEquals(Inherited from Attribute.)
Public MethodGetHashCode(Inherited from Attribute.)
Public MethodGetType(Inherited from Object.)
Public MethodMatch(Inherited from Attribute.)
Public MethodToString(Inherited from Object.)

NameDescription
Protected MethodFinalize(Inherited from Object.)
Protected MethodMemberwiseClone(Inherited from Object.)

Community Additions

ADD
Show:
© 2015 Microsoft