HtmlTestEncoder.Encode Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| Nom | Description |
|---|---|
| Encode(String) |
Encode la chaîne fournie et retourne le texte encodé en tant que nouvelle chaîne. |
| Encode(TextWriter, Char[], Int32, Int32) |
Encode les caractères d’un tableau et les écrit dans un TextWriter objet. |
| Encode(TextWriter, String, Int32, Int32) |
Encode une sous-chaîne et l’écrit dans un TextWriter objet. |
Encode(String)
- Source:
- HtmlTestEncoder.cs
- Source:
- HtmlTestEncoder.cs
- Source:
- HtmlTestEncoder.cs
- Source:
- HtmlTestEncoder.cs
- Source:
- HtmlTestEncoder.cs
Encode la chaîne fournie et retourne le texte encodé en tant que nouvelle chaîne.
public:
override System::String ^ Encode(System::String ^ value);
public override string Encode(string value);
override this.Encode : string -> string
Public Overrides Function Encode (value As String) As String
Paramètres
- value
- String
Chaîne à encoder.
Retours
Chaîne encodée.
S’applique à
Encode(TextWriter, Char[], Int32, Int32)
- Source:
- HtmlTestEncoder.cs
- Source:
- HtmlTestEncoder.cs
- Source:
- HtmlTestEncoder.cs
- Source:
- HtmlTestEncoder.cs
- Source:
- HtmlTestEncoder.cs
Encode les caractères d’un tableau et les écrit dans un TextWriter objet.
public:
override void Encode(System::IO::TextWriter ^ output, cli::array <char> ^ value, int startIndex, int characterCount);
public override void Encode(System.IO.TextWriter output, char[] value, int startIndex, int characterCount);
override this.Encode : System.IO.TextWriter * char[] * int * int -> unit
Public Overrides Sub Encode (output As TextWriter, value As Char(), startIndex As Integer, characterCount As Integer)
Paramètres
- output
- TextWriter
Flux dans lequel écrire le texte encodé.
- value
- Char[]
Tableau de caractères à encoder.
- startIndex
- Int32
Index de tableau du premier caractère à encoder.
- characterCount
- Int32
Nombre de caractères dans le tableau à encoder.
S’applique à
Encode(TextWriter, String, Int32, Int32)
- Source:
- HtmlTestEncoder.cs
- Source:
- HtmlTestEncoder.cs
- Source:
- HtmlTestEncoder.cs
- Source:
- HtmlTestEncoder.cs
- Source:
- HtmlTestEncoder.cs
Encode une sous-chaîne et l’écrit dans un TextWriter objet.
public:
override void Encode(System::IO::TextWriter ^ output, System::String ^ value, int startIndex, int characterCount);
public override void Encode(System.IO.TextWriter output, string value, int startIndex, int characterCount);
override this.Encode : System.IO.TextWriter * string * int * int -> unit
Public Overrides Sub Encode (output As TextWriter, value As String, startIndex As Integer, characterCount As Integer)
Paramètres
- output
- TextWriter
Flux dans lequel écrire le texte encodé.
- value
- String
Chaîne dont la sous-chaîne doit être encodée.
- startIndex
- Int32
Index dans lequel démarre la sous-chaîne.
- characterCount
- Int32
Nombre de caractères dans la sous-chaîne.