DecimalFormatDictionary.Remove MethodDecimalFormatDictionary.Remove MethodDecimalFormatDictionary::Remove Method
Removes the decimal format with the specified name from this DecimalFormatDictionaryDecimalFormatDictionaryDecimalFormatDictionary.
Syntax
Public Function Remove( _ key As System.Xml.XmlQualifiedName _ ) As Boolean
public bool Remove( System.Xml.XmlQualifiedName key )
public: virtual bool Remove( System.Xml::XmlQualifiedName^ key ) sealed
Parameters
- key
Type: System.Xml.XmlQualifiedNameSystem.Xml.XmlQualifiedNameSystem.Xml::XmlQualifiedName^
The name of the decimal format to remove.
Return Value
Type: System.BooleanSystem.BooleanSystem::Boolean
true
True
true
if the decimal format was successfully removed from the DecimalFormatDictionaryDecimalFormatDictionaryDecimalFormatDictionary;
otherwise false
False
false
. This method also returns false
False
false
if there is no decimal format with the
specified name in the DecimalFormatDictionaryDecimalFormatDictionaryDecimalFormatDictionary.
Exceptions
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException | key is null
a null reference (Nothing in Visual Basic)
nullptr . |