Bewerken

Share via


TemplateControl.WriteUTF8ResourceString Method

Definition

Writes a resource string to an HtmlTextWriter control. 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)

Parameters

output
HtmlTextWriter

The control to write to.

offset
Int32

The starting position within value.

size
Int32

The number of characters within value to use.

fAsciiOnly
Boolean

true to bypass re-encoding; otherwise, false.

Exceptions

Data that is not valid is being accessed; offset or size is less than zero.

-or-

The sum of offset and size is greater than the resource size.

Applies to