XmlElementAttribute Constructor (Type) |
Initializes a new instance of the System.Xml.Serialization.XmlElementAttribute
class and specifies a type for the member to which the System.Xml.Serialization.XmlElementAttribute
is applied. This type is used by the System.Xml.Serialization.XmlSerializer
when serializing or deserializing object that contains it.
Namespace: System.Xml.SerializationAssembly: CSharpXamlForHtml5.System.Xml.dll (in CSharpXamlForHtml5.System.Xml.dll.dll) Version: 1.0.0.0
Syntax public XmlElementAttribute(
Type type
)
Parameters
- type
- Type: SystemType
The System.Type of an object derived from the member's type.
See Also