Export (0) Print
Expand All

XmlSchemaObjectCollection Methods

The methods of the XmlSchemaObjectCollection class are listed here. For a complete list of XmlSchemaObjectCollection class members, see the XmlSchemaObjectCollection Members topic.

Public Methods

public methodAdd Adds an XmlSchemaObject to the XmlSchemaObjectCollection.
public methodClear (inherited from CollectionBase) Removes all objects from the CollectionBase instance.
public methodContains Indicates if the specified qualified name is located in the XmlSchemaObjectCollection.
public methodCopyTo Copies all the XmlSchemaObjects from the 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 Returns an enumerator for iterating through the XmlSchemaObjects contained in the XmlSchemaObjectCollection.
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 methodIndexOf Gets the collection index corresponding to the specified XmlSchemaObject.
public methodInsert Inserts an XmlSchemaObject to the XmlSchemaObjectCollection.
public methodRemove Removes an XmlSchemaObject from the XmlSchemaObjectCollection.
public methodRemoveAt (inherited from CollectionBase) Removes the element at the specified index of the CollectionBase instance.
public methodToString (inherited from Object) Returns a String that represents the current Object.

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.
protected methodOnClear Overridden. OnClear is invoked before the standard Clear behavior. For more information, see OnClear method for CollectionBase.
protected methodOnClearComplete (inherited from CollectionBase) Performs additional custom processes after clearing the contents of the CollectionBase instance.
protected methodOnInsert Overridden. OnInsert is invoked before the standard Insert behavior. For more information, see OnInsert method CollectionBase.
protected methodOnInsertComplete (inherited from CollectionBase) Performs additional custom processes after inserting a new element into the CollectionBase instance.
protected methodOnRemove Overridden. OnRemove is invoked before the standard Remove behavior. For more information, see OnRemove method for CollectionBase.
protected methodOnRemoveComplete (inherited from CollectionBase) Performs additional custom processes after removing an element from the CollectionBase instance.
protected methodOnSet Overridden. OnSet is invoked before the standard Set behavior. For more information, see OnSet method for CollectionBase.
protected methodOnSetComplete (inherited from CollectionBase) Performs additional custom processes after setting a value in the CollectionBase instance.
protected methodOnValidate (inherited from CollectionBase) Performs additional custom processes when validating a value.

See Also

XmlSchemaObjectCollection Class | System.Xml.Schema Namespace

Show:
© 2014 Microsoft