XhtmlTextViewAdapter.RenderElement Method

Renders the element and a subset of its text content to the client.

Namespace: System.Web.UI.MobileControls.Adapters.XhtmlAdapters
Assembly: System.Web.Mobile (in system.web.mobile.dll)

public:
void RenderElement (
	XhtmlMobileTextWriter^ writer, 
	int index, 
	int beginSubstring, 
	int endSubstring
)
public void RenderElement (
	XhtmlMobileTextWriter writer, 
	int index, 
	int beginSubstring, 
	int endSubstring
)
public function RenderElement (
	writer : XhtmlMobileTextWriter, 
	index : int, 
	beginSubstring : int, 
	endSubstring : int
)
Not applicable.

Parameters

writer

An XhtmlMobileTextWriter object.

index

An integer indicating which chunk of text is being rendered.

beginSubstring

The starting index of the substring to render.

endSubstring

The ending index of the substring to render. The value -1 indicates the end of the text.

The RenderElement method is called by the Render method to render the element and portion of the text to the client.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, 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

Community Additions

ADD
Show: