setContentType Method

Microsoft FrontPage Visual Basic

setContentType Method

Sets the type of content that is inside of a layout cell or cell formatting table.

expression.setContentType(pszVal)

expression    Required. An expression that returns an FPLayoutRegion object.

pszVal    Required String. Specifies the type of content. May be one of the following String values: "NavBody", "ContentHead2", "ContentBody", or another value. This String is enclosed in quotes in the post-comment tag commonly used in the layout templates; for example, <!-- MSCellType="stringvalue" -->.

Remarks

This value is an in-memory value only and is not placed in the HTML in the document.

Use the getContentType method to return the type of content that is inside of a layout cell or cell formatting table.