LocationHintCollection.Contains Method (string, AnyUri)LocationHintCollection.Contains Method (String, AnyUri)LocationHintCollection::Contains Method (String^, AnyUri^)
Determines whether the LocationHintCollectionLocationHintCollectionLocationHintCollection already contains location hints for the
specified namespace URI.
Parameters
- namespaceURI
Type: System.StringSystem.StringSystem::String^
The namespace URI.
- locationHint
Type: XmlPrime.AnyUriXmlPrime.AnyUriXmlPrime::AnyUri^
The location hint.
Return Value
Type: System.BooleanSystem.BooleanSystem::Boolean
true
True
true
if the LocationHintCollectionLocationHintCollectionLocationHintCollection already contains the specified location
hint for the specified namespace URI; otherwise, false
False
false
.
Exceptions
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException |
namespaceURI or locationHint is null
a null reference (Nothing in Visual Basic)
nullptr .
|