MemberName Property
Collapse the table of content
Expand the table of content

XmlChoiceIdentifierAttribute.MemberName Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

Namespace:  System.Xml.Serialization
Assembly:  System.Xml (in System.Xml.dll)

'Declaration
Public Property MemberName As String

Property Value

Type: System.String
The name of a field that returns an enumeration.

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft