Export (0) Print
Expand All

XmlSchemaObjectCollection.Contains Method

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

XNA Framework

Supported in: 3.0, 2.0, 1.0
© 2015 Microsoft