共用方式為


OlAttachmentBlockLevel Enumeration

Specifies whether there is any restriction on the type of attachments for an item.

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

Syntax

'Declaration
Public Enumeration OlAttachmentBlockLevel
'Usage
Dim instance As OlAttachmentBlockLevel
public enum OlAttachmentBlockLevel

Members

Member name Description
olAttachmentBlockLevelNone There is no restriction on the type of the attachment based on its file extension.
olAttachmentBlockLevelOpen There is a restriction on the type of the attachment based on its file extension such that users must first save the attachment to disk before opening it.

Remarks

Attachments with the BlockLevel equal to olAttachmentBlockLevelOpen are on the Level 2 list of attachments that administrators maintain for attachment security. For more information on attachment security in Outlook, see the Office Resource Kit Web site.

See Also

Reference

Microsoft.Office.Interop.Outlook Namespace