Partager via


Attachment.Type Property

Returns an OlAttachmentType constant indicating the type of the specified object. Read-only.

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

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Property Type As OlAttachmentType
    Get
'Usage
Dim instance As Attachment
Dim value As OlAttachmentType

value = instance.Type
[DispIdAttribute()]
OlAttachmentType Type { get; }

Property Value

Type: Microsoft.Office.Interop.Outlook.OlAttachmentType

See Also

Reference

Attachment Interface

Attachment Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Programmatically Remove Security Level 2 Attachments from Messages and Save Them to Disk