XmlElementAttribute Constructor (Type)
Assembly: System.Xml (in System.Xml.dll)
Use the type parameter to specify a type that is derived from a base class. For example, suppose a property named MyAnimal returns an Animal object. You want to enhance the object, so you create a new class named Mammal that inherits from the Animal class. To instruct the XmlSerializer to accept the Mammal class when it serializes the MyAnimal property, pass the Type of the Mammal class to the constructor.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.