TemplateControl.CreateResourceBasedLiteralControl 方法

定義

存取儲存在資源中的常值字串。 CreateResourceBasedLiteralControl(Int32, Int32, Boolean) 方法並不適合從您的程式碼使用。

C#
protected System.Web.UI.LiteralControl CreateResourceBasedLiteralControl (int offset, int size, bool fAsciiOnly);

參數

offset
Int32

資源中字串開頭的位移。

size
Int32

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

fAsciiOnly
Boolean

布林值,指出資源中的字串是否只包含 7 位元 ASCII 字元。

傳回

LiteralControl

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

備註

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

適用於

產品 版本
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

另請參閱