XmlSchemaSet::Contains Method (XmlSchema^)

 

Indicates whether the specified XML Schema definition language (XSD) XmlSchema object is in the XmlSchemaSet.

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

public:
bool Contains(
	XmlSchema^ schema
)

Parameters

schema
Type: System.Xml.Schema::XmlSchema^

The XmlSchema object.

Return Value

Type: System::Boolean

true if the XmlSchema object is in the XmlSchemaSet; otherwise, false.

Exception Condition
ArgumentNullException

The XmlSchemaSet passed as a parameter is null.

.NET Framework
Available since 2.0
Return to top
Show: