MemoryCache.TryGetValue(Object, Object) 메서드

정의

이 키와 연결된 항목(있는 경우)을 가져옵니다.

public:
 virtual bool TryGetValue(System::Object ^ key, [Runtime::InteropServices::Out] System::Object ^ % result);
public bool TryGetValue (object key, out object result);
public bool TryGetValue (object key, out object? result);
abstract member TryGetValue : obj * obj -> bool
override this.TryGetValue : obj * obj -> bool
Public Function TryGetValue (key As Object, ByRef result As Object) As Boolean

매개 변수

key
Object

요청된 항목을 식별하는 개체입니다.

result
Object

반환

키가 있으면 true입니다.

구현

적용 대상