ImageField.GetDesignTimeValue Método
Definição
Recupera o valor usado para um valor de campo ao renderizar o objeto de ImageField em um designer.Retrieves the value used for a field's value when rendering the ImageField object in a designer.
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
Retornos
O valor a ser exibido no designer como o valor do campo.The value to display in the designer as the field's value.
Comentários
O GetDesignTimeValue método é um método auxiliar usado pela ImageField classe para determinar qual valor exibir para um campo ao renderizar um ImageField objeto em um designer.The GetDesignTimeValue method is a helper method used by the ImageField class to determine what value to display for a field when rendering an ImageField object in a designer. Se os dados reais não puderem ser recuperados da fonte de dados em tempo de design, o valor retornado por esse método será exibido em vez disso.If real data cannot be retrieved from the data source at design time, the value returned by this method is displayed instead.
Notas aos Herdeiros
Ao estender a ImageField classe, você pode substituir esse método para retornar um valor diferente a ser exibido para o campo em um designer.When extending the ImageField class, you can override this method to return a different value to display for the field in a designer.