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.

XmlSchemas::Contains Method (String^)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

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

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

public:
bool Contains(
	String^ targetNamespace
)

Parameters

targetNamespace
Type: System::String^

The namespace of the item to check for.

Return Value

Type: System::Boolean

true if the item is found; otherwise, false.

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