XmlSchema Constructor
Supported by the .NET Compact Framework. |
Constructs a new, empty schema. |
![]() InstanceNamespace |
Provides the instance namespace. |
![]() Namespace |
Provides the namespace for validation. |
AttributeFormDefault |
Gets or sets the form for attributes declared in the target namespace of the schema. |
AttributeGroups |
Gets the XmlSchemaObjectTable for all attribute groups in the schema, which holds the post-compilation value of the AttributeGroups property. |
Attributes |
Gets the XmlSchemaObjectTable, for all attributes in the schema, which holds the post-compilation value of the Attribute property. |
BlockDefault |
Gets or sets the BlockDefault attribute on element and complex type elements in the targetNamespace of the schema. The block attribute prevents a complex type (or element) that has the specified type of derivation from being used in place of the inherited complex type (or element). The type of derivation. |
ElementFormDefault |
Gets or sets the form for elements declared in the target namespace of the schema. |
Elements |
Gets the XmlSchemaObjectTable for all elements in the schema, which holds the post-compilation value of the Elements property. |
FinalDefault |
Gets or sets the default value of the final attribute on element and complex type elements in the target namespace of this schema. The final attribute prevents the specified type of derivation of an element or complex type. The type of derivation. |
Groups |
Gets the XmlSchemaObjectTable for all groups in the schema, which holds the post-compilation value of the Groups property. |
Id |
Gets or sets the string id. |
Includes |
Gets the collection of included and imported schemas. |
IsCompiled |
Gets information that indicates if the schema has been compiled. |
Items |
Gets the Items collection that is used to add new element types at the schema element level. |
LineNumber (inherited from XmlSchemaObject) |
Gets or sets the line number in the file to which the schema element refers. |
LinePosition (inherited from XmlSchemaObject) |
Gets or sets the line position in the file to which the schema element refers. |
Namespaces (inherited from XmlSchemaObject) |
Gets or sets the XmlSerializerNamespaces to use with this schema object. |
Notations |
Gets the XmlSchemaObjectTable for all notations in the schema. |
SchemaTypes |
Gets the XmlSchemaObjectTable for all schema types in the schema, which holds the post-compilation value of the SchemaTypes property. |
SourceUri (inherited from XmlSchemaObject) |
Gets or sets the source location for the file that loaded the schema. |
TargetNamespace |
Gets or sets the property for the schema target namespace. The URI reference of the namespace of this schema. |
UnhandledAttributes |
Gets and sets the qualified attributes, which do not belong to the schema target namespace. |
Version |
Gets or sets the version of the schema. |
Compile |
Overloaded. Compiles the XML Schema definition language (XSD) Schema Object Model (SOM) into schema information for validation. Used to check the syntactic and semantic structure of the programmatically-built SOM. Semantic validation checking is performed during compilation. |
Equals (inherited from Object)
Supported by the .NET Compact Framework. |
Overloaded. Determines whether two Object instances are equal. |
GetHashCode (inherited from Object)
Supported by the .NET Compact Framework. |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object)
Supported by the .NET Compact Framework. |
Gets the Type of the current instance. |
![]() Read |
Overloaded. Reads an XML Schema definition language (XSD) schema. |
ToString (inherited from Object)
Supported by the .NET Compact Framework. |
Returns a String that represents the current Object. |
Write |
Overloaded. Writes out an XML Schema definition language (XSD) schema. |
Finalize (inherited from Object)
Supported by the .NET Compact Framework. |
Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
In C# and C++, finalizers are expressed using destructor syntax. |
MemberwiseClone (inherited from Object)
Supported by the .NET Compact Framework. |
Creates a shallow copy of the current Object. |