Share via


ImageField.GetValue(Control, String, PropertyDescriptor) 메서드

정의

지정된 컨트롤에서 지정된 필드 값을 검색합니다.

protected:
 virtual System::Object ^ GetValue(System::Web::UI::Control ^ controlContainer, System::String ^ fieldName, System::ComponentModel::PropertyDescriptor ^ % cachedDescriptor);
protected virtual object GetValue (System.Web.UI.Control controlContainer, string fieldName, ref System.ComponentModel.PropertyDescriptor cachedDescriptor);
abstract member GetValue : System.Web.UI.Control * string * PropertyDescriptor -> obj
override this.GetValue : System.Web.UI.Control * string * PropertyDescriptor -> obj
Protected Overridable Function GetValue (controlContainer As Control, fieldName As String, ByRef cachedDescriptor As PropertyDescriptor) As Object

매개 변수

controlContainer
Control

필드 값을 포함하는 Control입니다.

fieldName
String

값을 검색할 필드의 이름입니다.

cachedDescriptor
PropertyDescriptor

필드의 속성을 나타내며 참조로 전달되는 PropertyDescriptor입니다.

반환

지정된 필드의 값입니다.

예외

controlContainer 매개 변수가 null인 경우

또는

컨테이너 컨트롤과 연결된 데이터 항목이 null인 경우

또는

fieldName 매개 변수에서 지정하는 필드를 찾을 수 없는 경우

설명

GetValue 메서드는에서 사용 하는 도우미 메서드는 ImageField 지정된 된 필드의 값을 확인 하는 개체입니다.

상속자 참고

확장 하는 경우는 ImageField 개체 필드의 값을 결정 하려면 사용자 지정 루틴을 제공 하려면이 메서드를 재정의할 수 있습니다.

적용 대상

추가 정보