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 字元。

傳回

LiteralControl

LiteralControl,表示資源中的常值字串。

備註

方法 CreateResourceBasedLiteralControl 可用來存取儲存在資源中的常值字串,而且不適合從您的程式碼中使用。

適用於

另請參閱