Attachment.BlockLevel Property
Returns an OlAttachmentBlockLevel constant that specifies if there is any restriction on the attachment based on its file extension. Read-only.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
<DispIdAttribute()> _
ReadOnly Property BlockLevel As OlAttachmentBlockLevel
Get
'Usage
Dim instance As Attachment
Dim value As OlAttachmentBlockLevel
value = instance.BlockLevel
[DispIdAttribute()]
OlAttachmentBlockLevel BlockLevel { get; }
Property Value
Type: Microsoft.Office.Interop.Outlook.OlAttachmentBlockLevel
Remarks
This value of this property reflects whether an attachment is blocked based on its file extension and how attachment security has been set up on the client computer. For more information on attachment security in Outlook, see the Office Resource Kit Web site.