LocationHintCollection.Remove Method (string, AnyUri)LocationHintCollection.Remove Method (String, AnyUri)LocationHintCollection::Remove Method (String^, AnyUri^)

Removes a location hint for the specified namespace URI from the LocationHintCollectionLocationHintCollectionLocationHintCollection.

Syntax

Public Function Remove( _
    namespaceURI As String, _
    locationHint As AnyUri _
) As Boolean
public bool Remove(
    string namespaceURI,
    AnyUri locationHint
)
public:
bool Remove(
    String^ namespaceURI, 
    AnyUri^ locationHint
)
 

Parameters

namespaceURI

Type: System.StringSystem.StringSystem::String^

The namespace URI.

locationHint

Type: XmlPrime.AnyUriXmlPrime.AnyUriXmlPrime::AnyUri^

The location hint to remove.

Return Value

Type: System.BooleanSystem.BooleanSystem::Boolean

trueTruetrue if the location hint is successfully removed; otherwise falseFalsefalse. This method returns falseFalsefalse if the location hint is not found in the LocationHintCollectionLocationHintCollectionLocationHintCollection.

Exceptions

ExceptionCondition
ArgumentNullExceptionArgumentNullExceptionArgumentNullException namespaceURI or locationHint is null a null reference (Nothing in Visual Basic) nullptr.