HttpRequestOptions.TryGetValue<TValue>(HttpRequestOptionsKey<TValue>, TValue) 方法

定義

public:
generic <typename TValue>
 bool TryGetValue(System::Net::Http::HttpRequestOptionsKey<TValue> key, [Runtime::InteropServices::Out] TValue % value);
public bool TryGetValue<TValue> (System.Net.Http.HttpRequestOptionsKey<TValue>? key, out TValue value);
member this.TryGetValue : System.Net.Http.HttpRequestOptionsKey<'Value> * 'Value -> bool
Public Function TryGetValue(Of TValue) (key As HttpRequestOptionsKey(Of TValue), ByRef value As TValue) As Boolean

類型參數

TValue

參數

value
TValue

傳回

Boolean

適用於