共用方式為


SPHtmlEncodedResourceExpressionBuilder.Encode method

藉由使用 HTML 編碼方式編碼的資源字串。

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

Syntax

'宣告
Protected Overrides Function Encode ( _
    str As String _
) As String
'用途
Dim str As String
Dim returnValue As String

returnValue = Me.Encode(str)
protected override string Encode(
    string str
)

參數

傳回值

Type: System.String
String
HTML 編碼字串。

請參閱

參照

SPHtmlEncodedResourceExpressionBuilder class

SPHtmlEncodedResourceExpressionBuilder members

Microsoft.SharePoint namespace