TemplateControl.CreateResourceBasedLiteralControl Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.NET