Click or drag to resize
XmlTypeAttribute Class
Controls the XML schema that is generated when the attribute target is serialized by the System.Xml.Serialization.XmlSerializer.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    System.Xml.SerializationXmlTypeAttribute

Namespace: System.Xml.Serialization
Assembly: CSharpXamlForHtml5.System.Xml.dll (in CSharpXamlForHtml5.System.Xml.dll.dll) Version: 1.0.0.0
Syntax
C#
public class XmlTypeAttribute : Attribute

The XmlTypeAttribute type exposes the following members.

Constructors
  NameDescription
Public methodXmlTypeAttribute
Initializes a new instance of the System.Xml.Serialization.XmlTypeAttribute class.
Public methodXmlTypeAttribute(String)
Initializes a new instance of the System.Xml.Serialization.XmlTypeAttribute class and specifies the name of the XML type.
Top
Methods
  NameDescription
Public methodEquals
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from Attribute.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyAnonymousType
Gets or sets a value that determines whether the resulting schema type is an XSD anonymous type.
Public propertyIncludeInSchema
Gets or sets a value that indicates whether to include the type in XML schema documents.
Public propertyNamespace
Gets or sets the namespace of the XML type.
Public propertyTypeName
Gets or sets the name of the XML type.
Top
See Also