System.Xml.Serialization.XmlChoiceIdentifierAttribute.MemberName Property

Gets or sets the name of the field that returns the enumeration to use when detecting types.

Syntax

public string MemberName { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

At least one member must be present in the enumeration returned by the field named in the XmlChoiceIdentifierAttribute.MemberName value. By default, that enumeration name takes the name of the field that the System.Xml.Serialization.XmlChoiceIdentifierAttribute is applied to.

Requirements

Namespace: System.Xml.Serialization
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0