DecimalFormatDictionary.TryGetValue MethodDecimalFormatDictionary.TryGetValue MethodDecimalFormatDictionary::TryGetValue Method
Gets the value with the specified key.
Syntax
Public Function TryGetValue( _ key As System.Xml.XmlQualifiedName, _ <Out>value As ByRef DecimalFormat _ ) As Boolean
public bool TryGetValue( System.Xml.XmlQualifiedName key, out DecimalFormat value )
public: virtual bool TryGetValue( System.Xml::XmlQualifiedName^ key, [Out] DecimalFormat^% value ) sealed
Parameters
- key
Type: System.Xml.XmlQualifiedNameSystem.Xml.XmlQualifiedNameSystem.Xml::XmlQualifiedName^
The name of the decimal format whose type is to be returned.
- value
Type: out XmlPrime.DecimalFormatByRef XmlPrime.DecimalFormatXmlPrime::DecimalFormat^%
When this method returns, contains the type of the specified decimal format, if it is set; otherwise,
null
a null reference (Nothing
in Visual Basic)nullptr
.
Return Value
Type: System.BooleanSystem.BooleanSystem::Boolean
true
True
true
if the DecimalFormatDictionaryDecimalFormatDictionaryDecimalFormatDictionary contains the specified decimal format, otherwise false
False
false
Exceptions
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException | key is null
a null reference (Nothing in Visual Basic)
nullptr . |