Share via


SPHtmlEncodedResourceExpressionBuilder.EncodeMethod property

Gets the method that will be used to encode the resource string.

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
The method that is used to encode the resource string.

Remarks

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

See also

Reference

SPHtmlEncodedResourceExpressionBuilder class

SPHtmlEncodedResourceExpressionBuilder members

Microsoft.SharePoint namespace