Share via


Attachment.IsOleAttachment Property

The IsOleAttachment property gets a value that indicates whether the attachment is an OLE object.

Namespace:  Microsoft.Exchange.Data.Transport.Email
Assembly:  Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)

Syntax

'Declaration
Public ReadOnly Property IsOleAttachment As Boolean
    Get
'Usage
Dim instance As Attachment
Dim value As Boolean

value = instance.IsOleAttachment
public bool IsOleAttachment { get; }

Property Value

Type: System.Boolean
The IsOleAttachment property returns true if the attachment is an OLE object; otherwise, the property returns false.