ParameterTypeDictionary.TryGetValue MethodParameterTypeDictionary.TryGetValue MethodParameterTypeDictionary::TryGetValue Method

Gets the value with the specified key.

Syntax

Public Function TryGetValue( _
    key As System.Xml.XmlQualifiedName, _
    <Out>value As ByRef XdmType _
) As Boolean
public bool TryGetValue(
    System.Xml.XmlQualifiedName key,
    out XdmType value
)
public:
virtual bool TryGetValue(
    System.Xml::XmlQualifiedName^ key, 
    [Out] XdmType^% value
) sealed
 

Parameters

key

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

The name of the parameter whose type is to be returned.

value

Type: out XmlPrime.XdmTypeByRef XmlPrime.XdmTypeXmlPrime::XdmType^%

When this method returns, contains the type of the specified parameter, if it is set; otherwise, null a null reference (Nothing in Visual Basic) nullptr.

Return Value

Type: System.BooleanSystem.BooleanSystem::Boolean

trueTruetrue if the ParameterTypeDictionaryParameterTypeDictionaryParameterTypeDictionary contains the specified parameter, otherwise falseFalsefalse

Exceptions

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