XmlSchemaType Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

The base class for all simple types and complex types.

Namespace:   System.Xml.Schema
Assembly:  System.Xml (in System.Xml.dll)


public class XmlSchemaType : XmlSchemaAnnotated

NameDescription
System_CAPS_pubmethodXmlSchemaType()

Initializes a new instance of the XmlSchemaType class.

NameDescription
System_CAPS_pubpropertyAnnotation

Gets or sets the annotation property.(Inherited from XmlSchemaAnnotated.)

System_CAPS_pubpropertyBaseSchemaType

Obsolete. 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.

System_CAPS_pubpropertyBaseXmlSchemaType

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

System_CAPS_pubpropertyDatatype

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

System_CAPS_pubpropertyDerivedBy

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

System_CAPS_pubpropertyFinal

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

System_CAPS_pubpropertyFinalResolved

Gets the post-compilation value of the Final property.

System_CAPS_pubpropertyId

Gets or sets the string id.(Inherited from XmlSchemaAnnotated.)

System_CAPS_pubpropertyIsMixed

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

System_CAPS_pubpropertyLineNumber

Gets or sets the line number in the file to which the schema element refers.(Inherited from XmlSchemaObject.)

System_CAPS_pubpropertyLinePosition

Gets or sets the line position in the file to which the schema element refers.(Inherited from XmlSchemaObject.)

System_CAPS_pubpropertyName

Gets or sets the name of the type.

System_CAPS_pubpropertyNamespaces

Gets or sets the XmlSerializerNamespaces to use with this schema object.(Inherited from XmlSchemaObject.)

System_CAPS_pubpropertyParent

Gets or sets the parent of this XmlSchemaObject.(Inherited from XmlSchemaObject.)

System_CAPS_pubpropertyQualifiedName

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

System_CAPS_pubpropertySourceUri

Gets or sets the source location for the file that loaded the schema.(Inherited from XmlSchemaObject.)

System_CAPS_pubpropertyTypeCode

Gets the XmlTypeCode of the type.

System_CAPS_pubpropertyUnhandledAttributes

Gets or sets the qualified attributes that do not belong to the current schema's target namespace.(Inherited from XmlSchemaAnnotated.)

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticGetBuiltInComplexType(XmlQualifiedName)

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

System_CAPS_pubmethodSystem_CAPS_staticGetBuiltInComplexType(XmlTypeCode)

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

System_CAPS_pubmethodSystem_CAPS_staticGetBuiltInSimpleType(XmlQualifiedName)

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

System_CAPS_pubmethodSystem_CAPS_staticGetBuiltInSimpleType(XmlTypeCode)

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

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticIsDerivedFrom(XmlSchemaType, XmlSchemaType, XmlSchemaDerivationMethod)

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

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

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

.NET Framework
Available since 1.1

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: