使用 HTML 编码编码资源字符串。
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
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
)
参数
str
类型:System.String要编码的字符串。
返回值
类型:System.String
String
一个 html 编码的字符串。
另请参阅
引用
SPHtmlEncodedResourceExpressionBuilder 类