This documentation is archived and is not being maintained.

TemplateControl.WriteUTF8ResourceString Method

This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Writes a resource string to an HtmlTextWriter control. The WriteUTF8ResourceString method is used by generated classes and is not intended for use from within your code.

Namespace: System.Web.UI
Assembly: System.Web (in system.web.dll)

void WriteUTF8ResourceString (
	HtmlTextWriter^ output, 
	int offset, 
	int size, 
	bool fAsciiOnly
protected void WriteUTF8ResourceString (
	HtmlTextWriter output, 
	int offset, 
	int size, 
	boolean fAsciiOnly
protected function WriteUTF8ResourceString (
	output : HtmlTextWriter, 
	offset : int, 
	size : int, 
	fAsciiOnly : boolean
Not applicable.



The control to write to.


The starting position within value.


The number of characters within value to use.


true to bypass re-encoding; otherwise, false.

Exception typeCondition


Data that is not valid is being accessed; offset or size is less than zero.

- or -

The sum of offset and size is greater than the resource size.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0