Share via


HttpBearerChallenge.TryGetValue Method (String, String)

 

Returns the value stored at the specified key.

Namespace:   Microsoft.Azure.KeyVault
Assembly:  Microsoft.Azure.KeyVault (in Microsoft.Azure.KeyVault.dll)

Syntax

public bool TryGetValue(
    string key,
    out string value
)
public:
bool TryGetValue(
    String^ key,
    [OutAttribute] String^% value
)
member 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 when the key is found, false when it is not.

Remarks

If the key does not exist, this method will return false and the content of value will not be changed.

See Also

HttpBearerChallenge Class
Microsoft.Azure.KeyVault Namespace

Return to top