CreateDiscussionPage method

Creates a Discussion Page object.

Syntax


C++
HRESULT CreateDiscussionPage (
   BSTR Name,
   LONG CreateOptions,
   IERUItem** ppDiscussionPage)
Scripting languages
Set DiscussionPage = Object.CreateDiscussionPage (
   Name as String,
   CreateOptions as Long)

Parameters


Name

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

CreateOptions

One or more values from the ERUCreateOptions enumeration, logically OR'ed together. [optional, default = erCreateOptNone] For further information, see ERUCreateOption.

ppDiscussionPage

Upon return, An IERUItem interface pointer to the newly-added discussion page.

Return value


C++

The return code.

Scripting languages

An IERUItem interface pointer to the newly-added discussion page.

Remarks


The name of the Discussion Page can be no longer than 126 characters.

Home

Interface

IERUContainer


See also

Creating Items