IHtmlGenerator.Encode 方法

定义

重载

Encode(Object)

对值进行编码。

Encode(String)

对值进行编码。

Encode(Object)

对值进行编码。

public:
 System::String ^ Encode(System::Object ^ value);
public string Encode (object value);
abstract member Encode : obj -> string
Public Function Encode (value As Object) As String

参数

value
Object

要编码的值。

返回

已编码的值。

适用于

Encode(String)

对值进行编码。

public:
 System::String ^ Encode(System::String ^ value);
public string Encode (string value);
abstract member Encode : string -> string
Public Function Encode (value As String) As String

参数

value
String

要编码的值。

返回

已编码的值。

适用于