Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

XmlElementAttribute Properties

The properties of the XmlElementAttribute class are listed here. For a complete list of XmlElementAttribute class members, see the XmlElementAttribute Members topic.

Public Properties

public propertyDataType

Supported by the .NET Compact Framework.

Gets or sets the XML Schema definition (XSD) data type of the XMl element generated by the XmlSerializer.
public propertyElementName

Supported by the .NET Compact Framework.

Gets or sets the name of the generated XML element.
public propertyForm

Supported by the .NET Compact Framework.

Gets or sets a value indicating whether the element is qualified.
public propertyIsNullable

Supported by the .NET Compact Framework.

Gets or sets a value indicating whether the XmlSerializer should 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 propertyNamespace

Supported by the .NET Compact Framework.

Gets or sets the namespace assigned to the XML element that results when the class is serialized.
public propertyType

Supported by the .NET Compact Framework.

Gets or sets the object type used to represent the XML element.
public propertyTypeId (inherited from Attribute) When implemented in a derived class, gets a unique identifier for this Attribute.

See Also

XmlElementAttribute Class | System.Xml.Serialization Namespace

Show:
© 2015 Microsoft