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)
Available in Sandboxed Solutions: No

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