ButtonColumn.FormatDataTextValue(Object) メソッド
定義
指定された値を DataTextFormatString プロパティで示されている書式に変換します。Converts the specified value to the format that is indicated by the DataTextFormatString property.
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
書式を変換する値。The value to format.
戻り値
DataTextFormatString で示される書式に変換された dataTextValue
。The dataTextValue
converted to the format indicated by the DataTextFormatString.
注釈
メソッドを使用して、指定した FormatDataTextValue 値をプロパティで指定されている形式に変換し DataTextFormatString ます。Use the FormatDataTextValue method to convert the specified value to the format that is indicated by the DataTextFormatString property.
注意
FormatDataTextValueプロパティが設定されていない場合、メソッドは値に相当する文字列を返し DataTextFormatString ます。The FormatDataTextValue method returns the string equivalent of the value, if the DataTextFormatString property is not set.