CreateCustomFieldDef method

Create a Custom Field Definition for the Facility.

Syntax


C++
HRESULT CreateCustomFieldDef(
   BSTR Name,
   ERUCustomFieldDataType DataType
   IERUCustomFieldDef** ppDef)
Scripting languages
Set Def = Facility.CreateCustomFieldDef(
   Name as String,
   DataType as ERUCustomFieldDataType)

Parameters


Name

The name of the new Custom Field Definition.

DataType

The data type of the new Custom Field Definition.

For further information, see ERUCustomFieldDataType

ppDef

Upon return, this value will contain an IERUCustomFieldDef interface pointer to the Custom Field Definition that was created.

Return value


C++

The return code.

Scripting languages

An IERUCustomFieldDef interface pointer to the newly-created Custom Field Definition.

Home

Applies to

IERUCustomFieldDefManager


See also

Creating eRooms