public class XmlSchemaType : XmlSchemaAnnotated
|
ctor #1 | Default constructor. This constructor is called by derived class constructors to initialize state in this type. |
Annotation (inherited from System.Xml.Schema.XmlSchemaAnnotated) |
Read-write See base class member description: System.Xml.Schema.XmlSchemaAnnotated.Annotation Gets or sets the annotation property. |
BaseSchemaType | Read-only Gets the object of the simpleType element or complexType element. This is a post-schema-validation-infoset variable. |
Datatype | Read-only Gets the data type that holds the post-compilation value. |
DerivedBy | Read-only When overridden in a derived class, this property gets information that indicates how this element has been derived from a base type. This property holds the post-compilation value. |
Final | Read-write Gets or sets the final property to indicate that no further derivations are allowed. |
FinalResolved | Read-only Gets the post-compilation value of the Final property that holds the post-compilation value of the Final property. |
Id (inherited from System.Xml.Schema.XmlSchemaAnnotated) |
Read-write See base class member description: System.Xml.Schema.XmlSchemaAnnotated.Id Gets or sets the string id. |
IsMixed | Read-write Indicates that this type has a mixed content model. This property is only valid in a complex type. |
LineNumber (inherited from System.Xml.Schema.XmlSchemaObject) |
Read-write See base class member description: System.Xml.Schema.XmlSchemaObject.LineNumber Gets or sets the line number in the file to which the schema element refers. |
LinePosition (inherited from System.Xml.Schema.XmlSchemaObject) |
Read-write See base class member description: System.Xml.Schema.XmlSchemaObject.LinePosition Gets or sets the line position in the file to which the schema element refers. |
Name | Read-write Gets or sets the name of the type. |
Namespaces (inherited from System.Xml.Schema.XmlSchemaObject) |
Read-write See base class member description: System.Xml.Schema.XmlSchemaObject.Namespaces |
QualifiedName | Read-only Gets the qualified name for the type built from the Name attribute of this type. This holds the post-compilation value. |
SourceUri (inherited from System.Xml.Schema.XmlSchemaObject) |
Read-write See base class member description: System.Xml.Schema.XmlSchemaObject.SourceUri Gets or sets the source location for the file that loaded the schema. |
UnhandledAttributes (inherited from System.Xml.Schema.XmlSchemaAnnotated) |
Read-write See base class member description: System.Xml.Schema.XmlSchemaAnnotated.UnhandledAttributes Gets or sets the qualified attributes that do not belong to the schema target namespace. |
Equals (inherited from System.Object) |
See base class member description: System.Object.Equals Derived from System.Object, the primary base class for all objects. |
GetHashCode (inherited from System.Object) |
See base class member description: System.Object.GetHashCode Derived from System.Object, the primary base class for all objects. |
GetType (inherited from System.Object) |
See base class member description: System.Object.GetType Derived from System.Object, the primary base class for all objects. |
ToString (inherited from System.Object) |
See base class member description: System.Object.ToString Derived from System.Object, the primary base class for all objects. |
Finalize (inherited from System.Object) |
See base class member description: System.Object.Finalize Derived from System.Object, the primary base class for all objects. |
MemberwiseClone (inherited from System.Object) |
See base class member description: System.Object.MemberwiseClone Derived from System.Object, the primary base class for all objects. |
Hierarchy:
public XmlSchemaType(); |
public XmlSchemaAnnotation Annotation {get; set;}
|
public object BaseSchemaType {get;}
|
public XmlSchemaDatatype Datatype {get;}
|
public XmlSchemaDerivationMethod DerivedBy {get;}
|
Enum | Description |
---|---|
None | No derivation method specified. |
Substitution | Derived by Substitution. |
Extension | Derived by Extension. |
Restriction | Derived by Restriction. |
List | Derived by List. |
Union | Derived by Union. |
public XmlSchemaDerivationMethod Final {get; set;}
|
Enum | Description |
---|---|
Empty | Overrides the schema blockDefault setting allowing any derivations, by restriction, extension, or substitution to take place. |
None | No derivation method is specified. This is the default. Derivation rules are taken from the schema blockDefault setting. |
Substitution | Cannot be replaced by a type derived by Substitution. |
Extension | Cannot be replaced by a type derived by Extension. |
Restriction | Cannot be replaced by a type derived by Restriction. |
All | #all . Cannot be replaced by a type derived by any derivation method. |
The following table shows the values that this property can contain for complex type.
Enum | Description |
---|---|
Empty | Overrides the schema blockDefault setting allowing any derivations, by restriction, extension, or substitution to take place. |
None | No derivation method is specified. This is the default. Derivation rules are taken from the schema blockDefault setting. |
Substitution | Cannot be replaced by a type derived by Substitution. |
Extension | Cannot be replaced by a type derived by Extension. |
Restriction | Cannot be replaced by a type derived by Restriction. |
All | #all . Cannot be replaced by a type derived by any derivation method. |
public XmlSchemaDerivationMethod FinalResolved {get;}
|
public string Id {get; set;}
|
Optional.
public virtual bool IsMixed {get; set;}
|
public int LineNumber {get; set;}
|
public int LinePosition {get; set;}
|
public string Name {get; set;}
|
public XmlSerializerNamespaces Namespaces {get; set;}
|
public XmlQualifiedName QualifiedName {get;}
|
public string SourceUri {get; set;}
|
public XmlAttribute[] UnhandledAttributes {get; set;}
|
~XmlSchemaType(); |
public virtual int GetHashCode(); |
public Type GetType(); |
protected object MemberwiseClone(); |
public virtual string ToString(); |