HttpRequestOptions.IReadOnlyDictionary<String,Object>.TryGetValue 메서드

정의

지정된 키와 연결된 값을 가져옵니다.

 virtual bool System.Collections.Generic.IReadOnlyDictionary<System.String,System.Object>.TryGetValue(System::String ^ key, [Runtime::InteropServices::Out] System::Object ^ % value) = System::Collections::Generic::IReadOnlyDictionary<System::String ^, System::Object ^>::TryGetValue;
bool IReadOnlyDictionary<string,object>.TryGetValue(string key, out object value);
abstract member System.Collections.Generic.IReadOnlyDictionary<System.String,System.Object>.TryGetValue : string * obj -> bool
override this.System.Collections.Generic.IReadOnlyDictionary<System.String,System.Object>.TryGetValue : string * obj -> bool
Function TryGetValue (key As String, ByRef value As Object) As Boolean Implements IReadOnlyDictionary(Of String, Object).TryGetValue

매개 변수

key
String

찾을 키입니다.

value
Object

이 메서드가 반환될 때 키가 있으면 지정된 키와 연결된 값이 포함됩니다. 그렇지 않으면 매개 변수 형식의 기본값입니다 value . 이 매개 변수는 초기화되지 않은 상태로 전달됩니다.

반품

true 인스턴스에 HttpRequestOptions 지정된 키가 있는 요소가 포함되어 있으면 이고, false그렇지 않으면 .

적용 대상