Partilhar via


FormattedString.EncodeMethod Property

Gets or sets the encoding method that will be used to write the composite formatted string before the indexed placeholders are replaced with actual values.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property EncodeMethod As SPEncodeMethod
    Get
    Set
'Usage
Dim instance As FormattedString
Dim value As SPEncodeMethod

value = instance.EncodeMethod

instance.EncodeMethod = value
public SPEncodeMethod EncodeMethod { get; set; }

Property Value

Type: Microsoft.SharePoint.WebControls.SPEncodeMethod
An SPEncodeMethod value that specifies how the composite formatted string will be written in HTML.

See Also

Reference

FormattedString Class

FormattedString Members

Microsoft.SharePoint.WebControls Namespace