編輯

共用方式為


TemplateControl.CreateResourceBasedLiteralControl Method

Definition

Accesses literal strings stored in a resource. 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

Parameters

offset
Int32

The offset of the start of the string in the resource.

size
Int32

The size of the string in bytes.

fAsciiOnly
Boolean

A Boolean value indicating if the string in the resource contains only 7-bit ASCII characters.

Returns

A LiteralControl representing a literal string in a resource.

Remarks

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.

Applies to

See also