LocationHintCollection.Add Method (string, string)LocationHintCollection.Add Method (String, String)LocationHintCollection::Add Method (String^, String^)
- XmlPrime 1.3
- Other Versions ▼
Adds a location hint for the specified namespace URI to this LocationHintCollectionLocationHintCollectionLocationHintCollection.
Parameters
- namespaceURI
Type: System.StringSystem.StringSystem::String^
The namespace URI.
- locationHint
Type: System.StringSystem.StringSystem::String^
The location hint to add.
Return Value
Type: System.BooleanSystem.BooleanSystem::Boolean
true
True
true
if the location hint is added to the LocationHintCollectionLocationHintCollectionLocationHintCollection;
false
False
false
if the location hint was already present.
Exceptions
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException |
namespaceURI or locationHint is null
a null reference (Nothing in Visual Basic)
nullptr .
|