ButtonField.FormatDataTextValue(Object) メソッド

定義

ButtonField オブジェクトのセルの指定したフィールド値を書式変換します。

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

パラメーター

dataTextValue
Object

書式を変換するフィールド値。

戻り値

String

DataTextFormatString プロパティで指定されている書式に変換されたフィールド値。

注釈

この FormatDataTextValue メソッドは、フィールド値をプロパティで DataTextFormatString 指定された形式に変換するために使用されるヘルパー メソッドです。

注意 (継承者)

クラスを拡張するときに、メソッドをButtonFieldFormatDataTextValue(Object)オーバーライドしてカスタム書式設定ルーチンを実行できます。

適用対象

こちらもご覧ください