ImageField.GetDesignTimeValue 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索在设计器中呈现 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 类时,可以重写此方法以返回为设计器中的字段显示的不同值。