Export (0) Print
Expand All

XmlSchema Members

XmlSchema overview

Public Constructors

public constructorXmlSchema Constructor

Supported by the .NET Compact Framework.

Constructs a new, empty schema.

Public Fields

public fieldstatic (Shared in Visual Basic)InstanceNamespace Provides the instance namespace.
public fieldstatic (Shared in Visual Basic)Namespace Provides the namespace for validation.

Public Properties

public propertyAttributeFormDefault Gets or sets the form for attributes declared in the target namespace of the schema.
public propertyAttributeGroups Gets the XmlSchemaObjectTable for all attribute groups in the schema, which holds the post-compilation value of the AttributeGroups property.
public propertyAttributes Gets the XmlSchemaObjectTable, for all attributes in the schema, which holds the post-compilation value of the Attribute property.
public propertyBlockDefault 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.
public propertyElementFormDefault Gets or sets the form for elements declared in the target namespace of the schema.
public propertyElements Gets the XmlSchemaObjectTable for all elements in the schema, which holds the post-compilation value of the Elements property.
public propertyFinalDefault 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.
public propertyGroups Gets the XmlSchemaObjectTable for all groups in the schema, which holds the post-compilation value of the Groups property.
public propertyId Gets or sets the string id.
public propertyIncludes Gets the collection of included and imported schemas.
public propertyIsCompiled Gets information that indicates if the schema has been compiled.
public propertyItems Gets the Items collection that is used to add new element types at the schema element level.
public propertyLineNumber (inherited from XmlSchemaObject) Gets or sets the line number in the file to which the schema element refers.
public propertyLinePosition (inherited from XmlSchemaObject) Gets or sets the line position in the file to which the schema element refers.
public propertyNamespaces (inherited from XmlSchemaObject) Gets or sets the XmlSerializerNamespaces to use with this schema object.
public propertyNotations Gets the XmlSchemaObjectTable for all notations in the schema.
public propertySchemaTypes Gets the XmlSchemaObjectTable for all schema types in the schema, which holds the post-compilation value of the SchemaTypes property.
public propertySourceUri (inherited from XmlSchemaObject) Gets or sets the source location for the file that loaded the schema.
public propertyTargetNamespace Gets or sets the property for the schema target namespace. The URI reference of the namespace of this schema.
public propertyUnhandledAttributes Gets and sets the qualified attributes, which do not belong to the schema target namespace.
public propertyVersion Gets or sets the version of the schema.

Public Methods

public methodCompile 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.
public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (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.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodstatic (Shared in Visual Basic)Read Overloaded. Reads an XML Schema definition language (XSD) schema.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.
public methodWrite Overloaded. Writes out an XML Schema definition language (XSD) schema.

Protected Methods

protected methodFinalize (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.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

XmlSchema Class | System.Xml.Schema Namespace

Show:
© 2015 Microsoft