_Application.CreateItem(OlItemType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates and returns a new Microsoft Outlook item.
public:
System::Object ^ CreateItem(Microsoft::Office::Interop::Outlook::OlItemType ItemType);
public object CreateItem (Microsoft.Office.Interop.Outlook.OlItemType ItemType);
Public Function CreateItem (ItemType As OlItemType) As Object
Parameters
- ItemType
- OlItemType
The Outlook item type for the new item.
Returns
An Object value that represents the new Outlook item.
Remarks
The CreateItem method can only create default Outlook items. To create new items using a custom form, use the Add(Object) method on the Items collection.
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin