XmlSchemaObjectCollection.Contains Method (XmlSchemaObject)


Indicates if the specified XmlSchemaObject is in the XmlSchemaObjectCollection.

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

public bool Contains(
	XmlSchemaObject item

Return Value

Type: System.Boolean

true if the specified qualified name is in the collection; otherwise, returns false. If null is supplied, false is returned because there is no qualified name with a null name.

.NET Framework
Available since 1.1
Return to top