Export (0) Print
Expand All

XmlSchemaCollection Members

XmlSchemaCollection overview

Public Constructors

public constructorXmlSchemaCollection Constructor Overloaded. Initializes a new instance of the XmlSchemaCollection class.

Public Properties

public propertyCount Gets the number of namespaces defined in this collection.
public propertyItem Gets the XmlSchema associated with the given namespace URI.

In C#, this property is the indexer for the XmlSchemaCollection class.

public propertyNameTable Gets the default XmlNameTable used by the XmlSchemaCollection when loading new schemas.

Public Methods

public methodAdd Overloaded. Adds the given schema into the schema collection.
public methodContains Overloaded. Gets a value indicating whether a schema with the specified namespace is in the collection.
public methodCopyTo Copies all the XmlSchema objects from this collection into the given array starting at the given index.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetEnumerator Provides support for the "for each" style iteration over the collection of schemas.
public methodGetHashCode (inherited from Object) 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) Gets the Type of the current instance.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Public Events

public eventValidationEventHandler Sets an event handler for receiving information about the XML-Data Reduced (XDR) and XML Schema definition language (XSD) schema validation errors.

Protected Methods

protected methodFinalize (inherited from Object) 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) Creates a shallow copy of the current Object.

See Also

XmlSchemaCollection Class | System.Xml.Schema Namespace

Show:
© 2015 Microsoft