RenderHeading Method (ContainerRenderer Object)

RenderHeading Method (ContainerRenderer Object)

Important  The Collaboration Data Objects (CDO) 1.2.1 Rendering objects are not installed by or supported for use with Exchange Server 2003 or later.

The RenderHeading method renders a table containing the current views column headers.

Syntax

strHTML = objContRend.RenderHeading( [bstrCellPattern] [, varResponseObject**] )**

strHTML

On successful return, contains a string with the HTML hypertext representing the headers. However, if the varResponseObject parameter is supplied, RenderHeading returns a value of Empty.

objContRend

Required. The ContainerRenderer object.

bstrCellPattern

Optional. String. A rendering source specifying the rendering of the heading cell for each column. If supplied, the bstrCellPattern parameter overrides the specification in the HeadingCellPattern property.

varResponseObject

Optional. Object. An Active Server response object used to accumulate HTML output to send to the browser. This parameter is used primarily in ASP applications. If varResponseObject is not supplied, the output is written to strHTML.

Remarks

The HTML output of the Render and RenderHeading methods is treated as two separate tables, one for the header row and one for the container contents rows. The TablePrefix and TableSuffix property strings are inserted around each of these tables.

You might choose to call RenderHeading only in the first frame of your HTML output and then display only item rows in subsequent frames.

See Also

Concepts

ContainerRenderer Object