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
str
Type: System.StringThe string to be encoded.
Return Value
Type: System.String
String
A string that is HTML encoded.
See Also
Reference
SPSimpleFormattingEncodedResourceExpressionBuilder Class