Share via


SPSimpleFormattingEncodedResourceExpressionBuilder.EncodeMethod property

Gets the method that is used to encode resource strings.

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

Syntax

'Declaration
Protected Overrides ReadOnly Property EncodeMethod As CodeMethodReferenceExpression
    Get
'Usage
Dim value As CodeMethodReferenceExpression

value = Me.EncodeMethod
protected override CodeMethodReferenceExpression EncodeMethod { get; }

Property value

Type: System.CodeDom.CodeMethodReferenceExpression
CodeMethodReferenceExpression

Remarks

For this class, the HtmlEncodeAllowSimpleTextFormatting() method is used to encode the resource string.

See also

Reference

SPSimpleFormattingEncodedResourceExpressionBuilder class

SPSimpleFormattingEncodedResourceExpressionBuilder members

Microsoft.SharePoint namespace