XmlElementAttribute.Type Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the object type used to represent the XML element.
Assembly: System.Xml (in System.Xml.dll)
Use the Type property to specify a derived type for a field or property.
If a field or property returns an ArrayList, you can apply multiple instances of the XmlElementAttribute to the member. For each instance, set the Type property to a type of object that can be inserted into the array.
Show: