Attachment Members
Include Protected Members
Include Inherited Members
Represents a document or link to a document contained in an Outlook item.
The Attachment type exposes the following members.
Properties
Name
Description
Returns an Application object that represents the parent Outlook application for the object. Read-only.
Returns an OlAttachmentBlockLevel constant that specifies if there is any restriction on the attachment based on its file extension. Read-only.
Returns an OlObjectClass constant indicating the object's class. Read-only.
Returns or sets a String (string in C#) representing the name, which does not need to be the actual file name, displayed below the icon representing the embedded attachment. Read/write.
Returns a String (string in C#) representing the file name of the attachment. Read-only.
Returns an Integer (int in C#) value indicating the position of the object within the collection. Read-only.
This object, member, or enumeration is deprecated and is not intended to be used in your code.
Returns the parent Object of the specified object. Read-only.
Returns a String (string in C#) representing the full path to the linked attached file. Read-only.
Returns or sets an Integer (int in C#) value indicating the position of the attachment within the body of the item. Read/write.
Returns a PropertyAccessor object that supports creating, getting, setting, and deleting properties of the parent Attachment object. Read-only.
Returns the NameSpace object for the current session. Read-only.
Returns an Integer (int in C#) value indicating the size (in bytes) of the attachment. Read-only.
Returns an OlAttachmentType constant indicating the type of the specified object. Read-only.
Top
Methods
Name
Description
Deletes an object from the collection.
Saves the attachment to the specified path.
Top