Partager via


MAPIFolder.DefaultItemType Property

Returns a constant from the OlItemType enumeration indicating the default Outlook item type contained in the folder. Read-only.

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

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Property DefaultItemType As OlItemType
    Get
'Usage
Dim instance As MAPIFolder
Dim value As OlItemType

value = instance.DefaultItemType
[DispIdAttribute()]
OlItemType DefaultItemType { get; }

Property Value

Type: Microsoft.Office.Interop.Outlook.OlItemType

See Also

Reference

MAPIFolder Interface

MAPIFolder Members

Microsoft.Office.Interop.Outlook Namespace