TemplateControl.CreateResourceBasedLiteralControl(Int32, Int32, Boolean) 方法

定義

存取儲存在資源中的常值字串。Accesses literal strings stored in a resource. CreateResourceBasedLiteralControl(Int32, Int32, Boolean) 方法並不適合從您的程式碼使用。The CreateResourceBasedLiteralControl(Int32, Int32, Boolean) method is not intended for use from within your code.

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

資源中字串開頭的位移。The offset of the start of the string in the resource.

size
Int32

字串的大小,以位元組為單位。The size of the string in bytes.

fAsciiOnly
Boolean

布林值,指出資源中的字串是否只包含 7 位元 ASCII 字元。A Boolean value indicating if the string in the resource contains only 7-bit ASCII characters.

傳回

LiteralControl,表示資源中的常值字串。A LiteralControl representing a literal string in a resource.

備註

CreateResourceBasedLiteralControl 方法是用來存取儲存在資源中的常值字串,但不適合從您的程式碼中使用。The CreateResourceBasedLiteralControl method is used to access literal strings that are stored in a resource and is not intended for use from within your code.

適用於

另請參閱