LocationHintCollection.Contains Method (string, string)LocationHintCollection.Contains Method (String, String)LocationHintCollection::Contains Method (String^, String^)
- XmlPrime 1.2
- Other Versions ▼
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: System.StringSystem.StringSystem::String^
The location hint.
Return Value
Type: System.BooleanSystem.BooleanSystem::Boolean
trueTruetrue if the LocationHintCollectionLocationHintCollectionLocationHintCollection already contains the specified location
hint for the specified namespace URI; otherwise, falseFalsefalse.
Exceptions
| Exception | Condition |
| ArgumentNullExceptionArgumentNullExceptionArgumentNullException |
namespaceURI or locationHint is null
a null reference (Nothing in Visual Basic)
nullptr.
|
