This documentation is archived and is not being maintained.

XmlElementAttribute Members

Indicates that a public field or property represents an XML element when the XmlSerializer serializes or deserializes the object that contains it.

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

  Name Description
Public method Supported by the .NET Compact Framework XmlElementAttribute Overloaded. Initializes a new instance of the XmlElementAttribute class.
Top

  Name Description
Public property Supported by the .NET Compact Framework DataType Gets or sets the XML Schema definition (XSD) data type of the XML element generated by the XmlSerializer.
Public property Supported by the .NET Compact Framework ElementName Gets or sets the name of the generated XML element.
Public property Supported by the .NET Compact Framework Form Gets or sets a value that indicates whether the element is qualified.
Public property Supported by the .NET Compact Framework IsNullable Gets or sets a value that indicates whether the XmlSerializer must serialize a member that is set to a null reference (Nothing in Visual Basic) as an empty tag with the xsi:nil attribute set to true.
Public property Supported by the .NET Compact Framework Namespace Gets or sets the namespace assigned to the XML element that results when the class is serialized.
Public property Supported by the .NET Compact Framework Order Gets or sets the explicit order in which the elements are serialized or deserialized.
Public property Supported by the .NET Compact Framework Type Gets or sets the object type used to represent the XML element.
Public property TypeId  When implemented in a derived class, gets a unique identifier for this Attribute.(Inherited from Attribute.)
Top

(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework Equals  Overloaded. (Inherited from Attribute.)
Public method Static Supported by the .NET Compact Framework GetCustomAttribute  Overloaded. Retrieves a custom attribute of a specified type applied to an assembly, module, type member, or method parameter. (Inherited from Attribute.)
Public method Static Supported by the .NET Compact Framework GetCustomAttributes  Overloaded. Retrieves an array of the custom attributes applied to an assembly, module, type member, or method parameter. (Inherited from Attribute.)
Public method Supported by the .NET Compact Framework GetHashCode  Returns the hash code for this instance. (Inherited from Attribute.)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method IsDefaultAttribute  When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Inherited from Attribute.)
Public method Static Supported by the .NET Compact Framework IsDefined  Overloaded. Determines whether any custom attributes of a specified type are applied to an assembly, module, type member, or method parameter. (Inherited from Attribute.)
Public method Supported by the .NET Compact Framework Match  When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Inherited from Attribute.)
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

  Name Description
Protected method Supported by the .NET Compact Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top
Show: