Aracılığıyla paylaş


HttpBearerChallenge.TryGetValue(String, String) Method

Definition

Returns the value stored at the specified key.

public bool TryGetValue (string key, out string value);
member this.TryGetValue : string * string -> bool
Public Function TryGetValue (key As String, ByRef value As String) As Boolean

Parameters

key
String

The key to be retrieved

value
String

The value for the specified key

Returns

True when the key is found, false when it is not

Remarks

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

Applies to