System.Xml.Schema.XmlSchemaObjectCollection: Method Members

The methods of System.Xml.Schema.XmlSchemaObjectCollection are listed below. For a list of all members, see the XmlSchemaObjectCollection Members list.

See Also: Inherited members from System.Collections.CollectionBase

Public Methods

Add(XmlSchemaObject) : int

Adds an System.Xml.Schema.XmlSchemaObject to the XmlSchemaObjectCollection.

Contains(XmlSchemaObject) : bool

Indicates if the specified System.Xml.Schema.XmlSchemaObject is in the XmlSchemaObjectCollection.

CopyTo(XmlSchemaObject[], int)

Copies all the System.Xml.Schema.XmlSchemaObjects from the collection into the given array, starting at the given index.

GetEnumerator() : XmlSchemaObjectEnumerator

Returns an enumerator for iterating through the XmlSchemaObjects contained in the XmlSchemaObjectCollection.

IndexOf(XmlSchemaObject) : int

Gets the collection index corresponding to the specified System.Xml.Schema.XmlSchemaObject.

Insert(int, XmlSchemaObject)

Inserts an System.Xml.Schema.XmlSchemaObject to the XmlSchemaObjectCollection.

Remove(XmlSchemaObject)

Removes an System.Xml.Schema.XmlSchemaObject from the XmlSchemaObjectCollection.

Protected Methods

override
OnClear()

OnClear is invoked before the standard Clear behavior. For more information, see OnClear method for CollectionBase.

override
OnInsert(int, object)

OnInsert is invoked before the standard Insert behavior. For more information, see OnInsert method CollectionBase.

override
OnRemove(int, object)

OnRemove is invoked before the standard Remove behavior. For more information, see the OnRemove method for CollectionBase.

override
OnSet(int, object, object)

OnSet is invoked before the standard Set behavior. For more information, see the OnSet method for CollectionBase.