This topic has not yet been rated - Rate this topic

XmlElementAttribute Constructor

Initializes a new instance of the XmlElementAttribute class.

Name Description
XmlElementAttribute () Initializes a new instance of the XmlElementAttribute class.

Supported by the .NET Compact Framework.

XmlElementAttribute (String) Initializes a new instance of the XmlElementAttribute class and specifies the name of the XML element.

Supported by the .NET Compact Framework.

XmlElementAttribute (Type) Initializes a new instance of the XmlElementAttribute class and specifies a type for the member to which the XmlElementAttribute is applied. This type is used by the XmlSerializer when serializing or deserializing object that contains it.

Supported by the .NET Compact Framework.

XmlElementAttribute (String, Type) Initializes a new instance of the XmlElementAttribute and specifies the name of the XML element and a derived type for the member to which the XmlElementAttribute is applied. This member type is used when the XmlSerializer serializes the object that contains it.

Supported by the .NET Compact Framework.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.