XmlSchemaType XmlSchemaType XmlSchemaType 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() XmlSchemaType() XmlSchemaType() XmlSchemaType()

Initializes a new instance of the XmlSchemaType class.

Properties

Annotation Annotation Annotation Annotation

Gets or sets the annotation property.

(Inherited from XmlSchemaAnnotated)
BaseSchemaType BaseSchemaType BaseSchemaType 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 BaseXmlSchemaType BaseXmlSchemaType BaseXmlSchemaType

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

Datatype Datatype Datatype Datatype

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

DerivedBy DerivedBy DerivedBy DerivedBy

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

Final Final Final Final

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

FinalResolved FinalResolved FinalResolved FinalResolved

Gets the post-compilation value of the Final property.

Id Id Id Id

Gets or sets the string id.

(Inherited from XmlSchemaAnnotated)
IsMixed IsMixed IsMixed 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 LineNumber LineNumber LineNumber

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

(Inherited from XmlSchemaObject)
LinePosition LinePosition LinePosition LinePosition

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

(Inherited from XmlSchemaObject)
Name Name Name Name

Gets or sets the name of the type.

Namespaces Namespaces Namespaces Namespaces

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

(Inherited from XmlSchemaObject)
Parent Parent Parent Parent

Gets or sets the parent of this XmlSchemaObject.

(Inherited from XmlSchemaObject)
QualifiedName QualifiedName QualifiedName QualifiedName

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

SourceUri SourceUri SourceUri SourceUri

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

(Inherited from XmlSchemaObject)
TypeCode TypeCode TypeCode TypeCode

Gets the XmlTypeCode of the type.

UnhandledAttributes UnhandledAttributes UnhandledAttributes UnhandledAttributes

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

(Inherited from XmlSchemaAnnotated)

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetBuiltInComplexType(XmlQualifiedName) GetBuiltInComplexType(XmlQualifiedName) GetBuiltInComplexType(XmlQualifiedName) GetBuiltInComplexType(XmlQualifiedName)

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

GetBuiltInComplexType(XmlTypeCode) GetBuiltInComplexType(XmlTypeCode) GetBuiltInComplexType(XmlTypeCode) GetBuiltInComplexType(XmlTypeCode)

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

GetBuiltInSimpleType(XmlQualifiedName) GetBuiltInSimpleType(XmlQualifiedName) GetBuiltInSimpleType(XmlQualifiedName) 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) GetBuiltInSimpleType(XmlTypeCode) GetBuiltInSimpleType(XmlTypeCode) GetBuiltInSimpleType(XmlTypeCode)

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

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

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

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

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to