System.Xml.Serialization.XmlSchemas: Method Members

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

See Also: Inherited members from System.Collections.CollectionBase

Public Methods

Add(System.Xml.Schema.XmlSchema) : int

Adds an object to the end of the collection.

Add(XmlSchemas)

Adds an instance of the System.Xml.Serialization.XmlSchemas class to the end of the collection.

Add(System.Xml.Schema.XmlSchema, Uri) : int

Adds an System.Xml.Schema.XmlSchema object that represents an assembly reference to the collection.

AddReference(System.Xml.Schema.XmlSchema)

Adds an System.Xml.Schema.XmlSchema object that represents an assembly reference to the collection.

Compile(System.Xml.Schema.ValidationEventHandler, bool)

Processes the element and attribute names in the XML schemas and, optionally, validates the XML schemas.

Contains(string) : bool

Returns a value that indicates whether the collection contains an System.Xml.Schema.XmlSchema object that belongs to the specified namespace.

Contains(System.Xml.Schema.XmlSchema) : bool

Determines whether the System.Xml.Serialization.XmlSchemas contains a specific schema.

CopyTo(System.Xml.Schema.XmlSchema[], int)

Copies the entire System.Xml.Serialization.XmlSchemas to a compatible one-dimensional Array, which starts at the specified index of the target array.

Find(System.Xml.XmlQualifiedName, Type) : object

Locates in one of the XML schemas an System.Xml.Schema.XmlSchemaObject of the specified name and type.

GetSchemas(string) : IList

Gets a collection of schemas that belong to the same namespace.

IndexOf(System.Xml.Schema.XmlSchema) : int

Searches for the specified schema and returns the zero-based index of the first occurrence within the entire System.Xml.Serialization.XmlSchemas.

Insert(int, System.Xml.Schema.XmlSchema)

Inserts a schema into the System.Xml.Serialization.XmlSchemas at the specified index.

static
IsDataSet(System.Xml.Schema.XmlSchema) : bool

Static method that determines whether the specified XML schema contains a custom IsDataSet attribute set to true, or its equivalent.

Remove(System.Xml.Schema.XmlSchema)

Removes the first occurrence of a specific schema from the System.Xml.Serialization.XmlSchemas.

Protected Methods

override
OnClear()

Performs additional custom processes when clearing the contents of the System.Xml.Serialization.XmlSchemas instance.

override
OnInsert(int, object)

Performs additional custom processes before inserting a new element into the System.Xml.Serialization.XmlSchemas instance.

override
OnRemove(int, object)

Performs additional custom processes when removing an element from the System.Xml.Serialization.XmlSchemas instance.

override
OnSet(int, object, object)

Performs additional custom processes before setting a value in the System.Xml.Serialization.XmlSchemas instance.