IHtmlGenerator.Encode Method  
Definition
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.
Overloads
| Encode(Object) | Encodes a value. | 
| Encode(String) | Encodes a value. | 
Encode(Object)
- Source:
- IHtmlGenerator.cs
Encodes a value.
public:
 System::String ^ Encode(System::Object ^ value);public string Encode(object value);abstract member Encode : obj -> stringPublic Function Encode (value As Object) As StringParameters
- value
- Object
The value to encode.
Returns
The encoded value.
Applies to
Encode(String)
- Source:
- IHtmlGenerator.cs
Encodes a value.
public:
 System::String ^ Encode(System::String ^ value);public string Encode(string value);abstract member Encode : string -> stringPublic Function Encode (value As String) As StringParameters
- value
- String
The value to encode.
Returns
The encoded value.