Export (0) Print
Expand All

_Application.CreateItem method

Creates and returns a new Microsoft Outlook item.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

[DispIdAttribute()]
Object CreateItem(
	OlItemType ItemType
)

Parameters

ItemType
Type: Microsoft.Office.Interop.Outlook.OlItemType

The Outlook item type for the new item.

Return value

Type: System.Object
An Object value that represents the new Outlook item.

The CreateItem method can only create default Outlook items. To create new items using a custom form, use the Add method on the Items collection.

Show:
© 2014 Microsoft