แก้ไข

แชร์ผ่าน


HyperLinkField.FormatDataTextValue(Object) Method

Definition

Formats the caption text using the format string specified 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

Parameters

dataTextValue
Object

The text value to format.

Returns

The formatted text value.

Remarks

The FormatDataTextValue method is a helper method used to format the caption text of a hyperlink in a HyperLinkField object with the format string specified by the DataTextFormatString property.

Note

This method is used primarily by control developers.

Applies to