TemplateControl.WriteUTF8ResourceString(HtmlTextWriter, Int32, Int32, Boolean) TemplateControl.WriteUTF8ResourceString(HtmlTextWriter, Int32, Int32, Boolean) TemplateControl.WriteUTF8ResourceString(HtmlTextWriter, Int32, Int32, Boolean) TemplateControl.WriteUTF8ResourceString(HtmlTextWriter, Int32, Int32, Boolean) Method

Definición

Escribe una cadena de recurso en un control HtmlTextWriter.Writes a resource string to an HtmlTextWriter control. Las clases generadas utilizan el método WriteUTF8ResourceString(HtmlTextWriter, Int32, Int32, Boolean) y no están pensadas para ser utilizadas desde el código.The WriteUTF8ResourceString(HtmlTextWriter, Int32, Int32, Boolean) method is used by generated classes and is not intended for use from within your code.

protected:
 void WriteUTF8ResourceString(System::Web::UI::HtmlTextWriter ^ output, int offset, int size, bool fAsciiOnly);
protected void WriteUTF8ResourceString (System.Web.UI.HtmlTextWriter output, int offset, int size, bool fAsciiOnly);
member this.WriteUTF8ResourceString : System.Web.UI.HtmlTextWriter * int * int * bool -> unit
Protected Sub WriteUTF8ResourceString (output As HtmlTextWriter, offset As Integer, size As Integer, fAsciiOnly As Boolean)

Parámetros

output
HtmlTextWriter HtmlTextWriter HtmlTextWriter HtmlTextWriter

Control en el que se va a escribir.The control to write to.

offset
Int32 Int32 Int32 Int32

Posición inicial de value.The starting position within value.

size
Int32 Int32 Int32 Int32

Número de caracteres de value que se van a usar.The number of characters within value to use.

fAsciiOnly
Boolean Boolean Boolean Boolean

Es true para no tener que volver a realizar la codificación; de lo contrario, es false.true to bypass re-encoding; otherwise, false.

Excepciones

Se tiene acceso a datos que no son válidos; offset o size es menor que cero.Data that is not valid is being accessed; offset or size is less than zero.

o bien-or- La suma de offset y size es mayor que la longitud del recurso.The sum of offset and size is greater than the resource size.

Se aplica a