Share via


FormattedString.FormatText Property

Gets or sets the composite formatted string with placeholders.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

Public Property FormatText As String
    Get
    Set

Dim instance As FormattedString
Dim value As String

value = instance.FormatText

instance.FormatText = value
public string FormatText { get; set; }

Property Value

Type: System.String
A String containing a .Net composite formatted string.

Remarks

The value of FormatText may contain placeholders such as "{0}" or "{1:hh}". These are replaced by actual values by the Render(HtmlTextWriter) method.

See Also

Reference

FormattedString Class

FormattedString Members

Microsoft.SharePoint.WebControls Namespace