Share via


SPSimpleFormattingEncodedResourceExpressionBuilder.Encode Method

Encodes the resource string by using HTML encoding and allows simple text formatting.

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

Syntax

'Declaration
Protected Overrides Function Encode ( _
    str As String _
) As String
'Usage
Dim str As String
Dim returnValue As String

returnValue = Me.Encode(str)
protected override string Encode(
    string str
)

Parameters

Return Value

Type: System.String
String
A string that is HTML encoded.

See Also

Reference

SPSimpleFormattingEncodedResourceExpressionBuilder Class

SPSimpleFormattingEncodedResourceExpressionBuilder Members

Microsoft.SharePoint Namespace