XmlSchemaType Class

Definition

The base class for all simple types and complex types.

public ref class XmlSchemaType : System::Xml::Schema::XmlSchemaAnnotated
public class XmlSchemaType : System.Xml.Schema.XmlSchemaAnnotated
type XmlSchemaType = class
    inherit XmlSchemaAnnotated
Public Class XmlSchemaType
Inherits XmlSchemaAnnotated
Inheritance
Derived

Examples

See the XmlSchemaSimpleType class and the XmlSchemaComplexType class for an example using this class.

Constructors

XmlSchemaType()

Initializes a new instance of the XmlSchemaType class.

Properties

Annotation

Gets or sets the annotation property.

(Inherited from XmlSchemaAnnotated)
BaseSchemaType

Gets the post-compilation object type or the built-in XML Schema Definition Language (XSD) data type, simpleType element, or complexType element. This is a post-schema-compilation infoset property.

BaseXmlSchemaType

Gets the post-compilation value for the base type of this schema type.

Datatype

Gets the post-compilation value for the data type of the complex type.

DerivedBy

Gets the post-compilation information on how this element was derived from its base type.

Final

Gets or sets the final attribute of the type derivation that indicates if further derivations are allowed.

FinalResolved

Gets the post-compilation value of the Final property.

Id

Gets or sets the string id.

(Inherited from XmlSchemaAnnotated)
IsMixed

Gets or sets a value indicating if this type has a mixed content model. This property is only valid in a complex type.

LineNumber

Gets or sets the line number in the file to which the schema element refers.

(Inherited from XmlSchemaObject)
LinePosition

Gets or sets the line position in the file to which the schema element refers.

(Inherited from XmlSchemaObject)
Name

Gets or sets the name of the type.

Namespaces

Gets or sets the XmlSerializerNamespaces to use with this schema object.

(Inherited from XmlSchemaObject)
Parent

Gets or sets the parent of this XmlSchemaObject.

(Inherited from XmlSchemaObject)
QualifiedName

Gets the qualified name for the type built from the Name attribute of this type. This is a post-schema-compilation property.

SourceUri

Gets or sets the source location for the file that loaded the schema.

(Inherited from XmlSchemaObject)
TypeCode

Gets the XmlTypeCode of the type.

UnhandledAttributes

Gets or sets the qualified attributes that do not belong to the current schema's target namespace.

(Inherited from XmlSchemaAnnotated)

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetBuiltInComplexType(XmlQualifiedName)

Returns an XmlSchemaComplexType that represents the built-in complex type of the complex type specified by qualified name.

GetBuiltInComplexType(XmlTypeCode)

Returns an XmlSchemaComplexType that represents the built-in complex type of the complex type specified.

GetBuiltInSimpleType(XmlQualifiedName)

Returns an XmlSchemaSimpleType that represents the built-in simple type of the simple type that is specified by the qualified name.

GetBuiltInSimpleType(XmlTypeCode)

Returns an XmlSchemaSimpleType that represents the built-in simple type of the specified simple type.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
IsDerivedFrom(XmlSchemaType, XmlSchemaType, XmlSchemaDerivationMethod)

Returns a value indicating if the derived schema type specified is derived from the base schema type specified.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to