_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
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk