Name

XmlChoiceIdentifierAttribute — System.Xml.Serialization (system.xml.dll) CF 1.0  class 

Synopsis

public class XmlChoiceIdentifierAttribute : Attribute {
// Public Constructors
   public XmlChoiceIdentifierAttribute( );  
   public XmlChoiceIdentifierAttribute( string name);  
// Public Instance Properties
   public string MemberName{set; get; } 
}

This type is used to indicate to the XmlSerializer that the member to which it is applied should be serialized as defined by an XML Schema xsi:choice compositor.

Hierarchy

System.ObjectSystem.AttributeXmlChoiceIdentifierAttribute

Valid On

Property, Field, Parameter, ReturnValue

Get .NET & XML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.