Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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)

'Declaration
<DispIdAttribute()> _
Function CreateItem ( _
	ItemType As OlItemType _
) As Object
'Usage
Dim instance As _Application
Dim ItemType As OlItemType
Dim returnValue As Object

returnValue = instance.CreateItem(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:
© 2015 Microsoft