ParameterDictionary.TryGetValue MethodParameterDictionary.TryGetValue MethodParameterDictionary::TryGetValue Method

Gets the value with the specified key.

Syntax

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

Parameters

key

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

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

value

Type: out System.Collections.Generic.IEnumerable<T>ByRef System.Collections.Generic.IEnumerable(Of T)System.Collections.Generic::IEnumerable<T>^%

When this method returns, contains the value 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 ParameterDictionaryParameterDictionaryParameterDictionary contains the specified parameter, otherwise falseFalsefalse

Exceptions

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