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

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

반품

지정된 필드의 값입니다.

예외

매개 변수는 controlContainer .입니다 null.

-또는-

컨테이너 컨트롤과 연결된 데이터 항목은 .입니다 null.

-또는-

매개 변수로 fieldName 지정된 필드를 찾을 수 없습니다.

설명

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

상속자 참고

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

적용 대상

추가 정보