CreateNotePage method

Creates a Note Page object.

Syntax


C++:

HRESULT CreateNotePage (
   BSTR Name,
   BSTR Description,
   ERUTextFormat DescriptionFormat,
   LONG CreateOptions,
   IERUItem** ppNotePage)

Scripting languages:

Set Note = Object.CreateNotePage (
   Name as String,
   Description as String,
   DescriptionFormat as ERUTextFormat,
   CreateOptions as Long)

Parameters


Name

The name of the note page. The name must be unique in the container.

Description

The description of the note page.

DescriptionFormat

Indicates whether the Description parameter is formatted as HTML or as plain text.

For further information, see ERUTextFormat.

CreateOptions

Long. One or more values from the ERUCreateOptions enumeration, logically OR'ed together [optional, default = erCreateOptNone]

ppFolderPage

Upon return, an IERUItem interface pointer to the newly-added Note Page.

Return value


C++

The return code.

Scripting languages

An IERUItem interface pointer to the newly-added Note Page.

Remarks


The name of the discussion page can be no longer than 126 characters.

Home

Applies to

IERUContainer


See also

Creating Items