TemplateControl.CreateResourceBasedLiteralControl 方法

定義

存取儲存在資源中的字串。 此 CreateResourceBasedLiteralControl(Int32, Int32, Boolean) 方法並非設計用於程式碼內。

protected:
 System::Web::UI::LiteralControl ^ CreateResourceBasedLiteralControl(int offset, int size, bool fAsciiOnly);
protected System.Web.UI.LiteralControl CreateResourceBasedLiteralControl(int offset, int size, bool fAsciiOnly);
member this.CreateResourceBasedLiteralControl : int * int * bool -> System.Web.UI.LiteralControl
Protected Function CreateResourceBasedLiteralControl (offset As Integer, size As Integer, fAsciiOnly As Boolean) As LiteralControl

參數

offset
Int32

資源中字串起始的偏移量。

size
Int32

字串的大小(以位元組為單位)。

fAsciiOnly
Boolean

一個布林值,指示資源中的字串是否僅包含 7 位元 ASCII 字元。

傳回

A LiteralControl 代表資源中的字串。

備註

CreateResourceBasedLiteralControl 方法用於存取儲存在資源中的字串,並非用於程式碼內部使用。

適用於

另請參閱