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)

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