IHtmlGenerator.Encode Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Encode(Object) |
Encodes a value. |
Encode(String) |
Encodes a value. |
- Source:
- IHtmlGenerator.cs
Encodes a value.
public:
System::String ^ Encode(System::Object ^ value);
C#
public string Encode (object value);
abstract member Encode : obj -> string
Public Function Encode (value As Object) As String
Parameters
- value
- Object
The value to encode.
Returns
The encoded value.
Applies to
ASP.NET Core 9.0 والإصدارات الأخرى
منتج | الإصدارات |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
- Source:
- IHtmlGenerator.cs
Encodes a value.
public:
System::String ^ Encode(System::String ^ value);
C#
public string Encode (string value);
abstract member Encode : string -> string
Public Function Encode (value As String) As String
Parameters
- value
- String
The value to encode.
Returns
The encoded value.
Applies to
ASP.NET Core 9.0 والإصدارات الأخرى
منتج | الإصدارات |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |