ModelBinderDictionary.TryGetValue(Type, IModelBinder) 메서드

정의

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

public:
 virtual bool TryGetValue(Type ^ key, [Runtime::InteropServices::Out] System::Web::ModelBinding::IModelBinder ^ % value);
public bool TryGetValue (Type key, out System.Web.ModelBinding.IModelBinder value);
abstract member TryGetValue : Type * IModelBinder -> bool
override this.TryGetValue : Type * IModelBinder -> bool
Public Function TryGetValue (key As Type, ByRef value As IModelBinder) As Boolean

매개 변수

key
Type

가져올 값의 키입니다.

value
IModelBinder

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

반환

사전에 지정된 키를 가진 요소가 들어 있으면 true이고, 들어 있지 않으면 false입니다.

적용 대상