TemplateControl.WriteUTF8ResourceString(HtmlTextWriter, Int32, Int32, Boolean) 方法

定義

將資源字串寫入 HtmlTextWriter 控制項。Writes a resource string to an HtmlTextWriter control. WriteUTF8ResourceString(HtmlTextWriter, Int32, Int32, Boolean) 方法由產生的類別使用,並不適合從您的程式碼使用。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)

參數

output
HtmlTextWriter

要寫入其中的控制項。The control to write to.

offset
Int32

開始位置在 value 內。The starting position within value.

size
Int32

value 內要使用的字元數。The number of characters within value to use.

fAsciiOnly
Boolean

true 表示略過重新編碼,否則為 falsetrue to bypass re-encoding; otherwise, false.

例外狀況

存取無效的資料,offsetsize 小於零。Data that is not valid is being accessed; offset or size is less than zero.

-或--or- offsetsize 的總和大於資源大小。The sum of offset and size is greater than the resource size.

適用於