Condividi tramite


BoundColumn.FormatDataValue(Object) Metodo

Definizione

Converte il valore specificato nel formato indicato dalla DataFormatString proprietà .

protected:
 virtual System::String ^ FormatDataValue(System::Object ^ dataValue);
protected virtual string FormatDataValue(object dataValue);
abstract member FormatDataValue : obj -> string
override this.FormatDataValue : obj -> string
Protected Overridable Function FormatDataValue (dataValue As Object) As String

Parametri

dataValue
Object

Valore da formattare.

Restituisce

Valore specificato convertito nel formato indicato dalla DataFormatString proprietà .

Commenti

Utilizzare il FormatDataValue metodo per convertire il valore specificato nel formato indicato dalla DataFormatString proprietà .

Annotazioni

Questo metodo restituisce l'equivalente stringa del valore se la DataFormatString proprietà non è impostata.

Si applica a

Vedi anche