Remove

AliasDictionary.Remove method

Removes the specified alias from an AliasDictionary object.

public bool Remove(string alias)
Parameter Type Description
alias String The alias to remove.

Return Value

This method returns true if the alias is successfully found and removed. This method returns false if the alias is not found in the AliasDictionary object.

Exceptions

exception condition
ArgumentNullException Thrown when alias is null.

See Also