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

Removes all location hints for the specified namespace URI from the LocationHintCollectionLocationHintCollectionLocationHintCollection.

Syntax

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

Parameters

namespaceURI

Type: System.StringSystem.StringSystem::String^

The namespace URI.

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 is null a null reference (Nothing in Visual Basic) nullptr.