HyperLinkField.FormatDataTextValue(Object) 方法

定義

使用 DataTextFormatString 屬性所指定的格式字串,格式化標題文字。

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

已格式化的文字值。

備註

方法 FormatDataTextValue 是協助程式方法,用來格式化 物件中 HyperLinkField 超連結的標題文字,以及 屬性所 DataTextFormatString 指定的格式字串。

注意

這個方法主要由控制項開發人員使用。

適用於