Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

XmlSchemaObjectCollection::Remove Method (XmlSchemaObject^)

 

Removes an XmlSchemaObject from the XmlSchemaObjectCollection.

Namespace:   System.Xml.Schema
Assembly:  System.Xml (in System.Xml.dll)

public:
void Remove(
	XmlSchemaObject^ item
)

Parameters

item
Type: System.Xml.Schema::XmlSchemaObject^

The XmlSchemaObject to remove.

This method performs a linear search; therefore, the average execution time is proportional to Count. That is, this method is an O(n) operation, where n is Count.

This method determines equality by calling Equals.

The elements that follow the removed element move up to occupy the vacated spot.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft