setNamedElement (NotesOutlineEntry - JavaScript)

Specifies a named element for an outline entry.

Defined in

NotesOutlineEntry

Syntax

setNamedElement(db:NotesDatabase, elementName:string, entryClass:int) : boolean
Parameter Description
Database db The database containing the named element.
String elementName The name of a database element.
int entryClass The entry class to be assigned to the database element. See getEntryClass for the legal values.
Return value Description
boolean true if the named element is set successfully.

Usage

This method sets the outline entry type to OUTLINE_TYPE_NAMEDELEMENT and the entry class as specified.