.NET Framework Class Library
TemplateControl..::.CreateResourceBasedLiteralControl Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Accesses literal strings stored in a resource. The CreateResourceBasedLiteralControl method is not intended for use from within your code.

Namespace:  System.Web.UI
Assembly:  System.Web (in System.Web.dll)
Syntax

Visual Basic (Declaration)
Protected Function CreateResourceBasedLiteralControl ( _
    offset As Integer, _
    size As Integer, _
    fAsciiOnly As Boolean _
) As LiteralControl
Visual Basic (Usage)
Dim offset As Integer
Dim size As Integer
Dim fAsciiOnly As Boolean
Dim returnValue As LiteralControl

returnValue = Me.CreateResourceBasedLiteralControl(offset, _
    size, fAsciiOnly)
C#
protected LiteralControl CreateResourceBasedLiteralControl(
    int offset,
    int size,
    bool fAsciiOnly
)
Visual C++
protected:
LiteralControl^ CreateResourceBasedLiteralControl(
    int offset, 
    int size, 
    bool fAsciiOnly
)
JScript
protected function CreateResourceBasedLiteralControl(
    offset : int, 
    size : int, 
    fAsciiOnly : boolean
) : LiteralControl

Parameters

offset
Type: System..::.Int32
The offset of the start of the string in the resource.
size
Type: System..::.Int32
The size of the string in bytes.
fAsciiOnly
Type: System..::.Boolean
A Boolean value indicating if the string in the resource contains only 7-bit ASCII characters.

Return Value

Type: System.Web.UI..::.LiteralControl
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.

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information

.NET Framework

Supported in: 3.5, 3.0, 2.0, 1.1, 1.0
See Also

Reference

Tags :


Page view tracker