ParameterDictionary.Remove MethodParameterDictionary.Remove MethodParameterDictionary::Remove Method

Removes the parameter with the specified name from this ParameterDictionaryParameterDictionaryParameterDictionary.

Syntax

Public Function Remove( _
    name As System.Xml.XmlQualifiedName _
) As Boolean
public bool Remove(
    System.Xml.XmlQualifiedName name
)
public:
virtual bool Remove(
    System.Xml::XmlQualifiedName^ name
) sealed
 

Parameters

name

Type: System.Xml.XmlQualifiedNameSystem.Xml.XmlQualifiedNameSystem.Xml::XmlQualifiedName^

The name of the parameter to remove.

Return Value

Type: System.BooleanSystem.BooleanSystem::Boolean

trueTruetrue if the parameter was successfully removed from the ParameterDictionaryParameterDictionaryParameterDictionary; otherwise falseFalsefalse. This method also returns false if there is no parameter with the specified name in the ParameterDictionaryParameterDictionaryParameterDictionary.

Exceptions

ExceptionCondition
ArgumentNullExceptionArgumentNullExceptionArgumentNullExceptionname is null a null reference (Nothing in Visual Basic) nullptr.