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: