HyperLinkField.FormatDataTextValue Method (Object)

 

Formats the caption text using the format string specified by the DataTextFormatString property.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

protected virtual string FormatDataTextValue(
	object dataTextValue
)

Parameters

dataTextValue
Type: System.Object

The text value to format.

Return Value

Type: System.String

The formatted text value.

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.

System_CAPS_noteNote

This method is used primarily by control developers.

.NET Framework
Available since 2.0
Return to top
Show: