ImageField.GetDesignTimeValue 方法

定义

检索在设计器中呈现 ImageField 对象时用于字段值的值。

protected:
 virtual System::String ^ GetDesignTimeValue();
protected virtual string GetDesignTimeValue();
abstract member GetDesignTimeValue : unit -> string
override this.GetDesignTimeValue : unit -> string
Protected Overridable Function GetDesignTimeValue () As String

返回

要在设计器中显示为字段值的值。

注解

该方法 GetDesignTimeValue 是类用来 ImageField 确定在设计器中呈现 ImageField 对象时要为字段显示的值的帮助程序方法。 如果在设计时无法从数据源检索实际数据,则改为显示此方法返回的值。

继承者说明

扩展 ImageField 类时,可以重写此方法以返回为设计器中的字段显示的不同值。

适用于

另请参阅