Compartilhar via


HeaderDictionary.TryGetValue Method (String, String[])

 

Retrieves a value from the dictionary.

Namespace:   Microsoft.Owin
Assembly:  Microsoft.Owin (in Microsoft.Owin.dll)

Syntax

public bool TryGetValue(
    string key,
    out string[] value
)
public:
virtual bool TryGetValue(
    String^ key,
    [OutAttribute] array<String^>^% value
) sealed
abstract TryGetValue : 
        key:string *
        value:string[] byref -> bool
override TryGetValue : 
        key:string *
        value:string[] byref -> bool
Public Function TryGetValue (
    key As String,
    <OutAttribute> ByRef value As String()
) As Boolean

Parameters

Return Value

Type: System.Boolean

true if the HeaderDictionary contains the key; otherwise, false.

Implements

IDictionary<TKey, TValue>.TryGetValue(TKey, TValue)

See Also

HeaderDictionary Class
Microsoft.Owin Namespace

Return to top