Class SharingItem (Outlook VBA)

The class SharingItem represents a sharing message in an Inbox folder.

Class NameSpace gives access to class SharingItem.


Dim sim as SharingItem
Set sim = Session.CreateSharingItem(Context:=)

Methods

AddBusinessCard - Appends contact information based on the Electronic Business Card (EBC) associated with the specified ContactItem object to the SharingItem object.

Allow - Allows a sharing request and sends a sharing response to the sender of the SharingItem.

ClearConversationIndex - Clears the index of the conversation thread for the SharingItem.

ClearTaskFlag - Clears the SharingItem object as a task.

Copy - Creates another instance of a SharingItem.

Delete - Removes a SharingItem item from the folder that contains the item.

Deny - Denies a sharing request and sends a sharing response to the sender of the SharingItem.

Display - Displays a new Inspector object for the SharingItem.

GetConversation - Obtains a Conversation object that represents the conversation to which this item belongs.

MarkAsTask - Marks a SharingItem object as a task and assigns a task interval for the object.

Move - Moves a SharingItem to a new folder.

OpenSharedFolder - Opens a shared folder offered by a sharing invitation.

PrintOut - Prints the SharingItem using all default settings.

Save - Saves the SharingItem to the current folder or, if this is a new item, to the Outlook default folder for the item type.

SaveAs - Saves the SharingItem to the specified path and in the format of the specified file type. If the file type is not specified, the MSG format (.msg) is used.

ShowCategoriesDialog - Displays the Show Categories dialog box, which allows you to select categories that correspond to the subject of the item.

Properties

Actions returns an Actions collection that represents all the available actions for the SharingItem.

AllowWriteAccess returns or sets a Boolean value that indicates whether a sharing invitation should include write access to the folder.

AlternateRecipientAllowed returns or sets a Boolean value that is True if the item can be forwarded.

Attachments returns an Attachments object that represents all the attachments for the specified SharingItem.

AutoForwarded returns or sets a Boolean value that is True if the item was automatically forwarded.

BCC returns a String representing the display list of blind carbon copy (BCC) names for a SharingItem.

BillingInformation returns or sets a String representing the billing information associated with the SharingItem.

Body returns or sets a String representing the clear-text body of the SharingItem.

BodyFormat returns or sets an OlBodyFormat constant indicating the format of the body text.

Categories returns or sets a String representing the categories assigned to the SharingItem.

CC returns a String representing the display list of carbon copy (CC) names for a SharingItem.

Class returns an OlObjectClass constant indicating the object's class.

Companies returns or sets a String representing the names of the companies associated with the SharingItem.

Conflicts return the Conflicts object that represents the items that are in conflict with the SharingItem.

ConversationID returns a String that uniquely identifies a Conversation object that the SharingItem object belongs to.

ConversationIndex returns a String representing the index of the conversation thread of the SharingItem.

ConversationTopic returns a String representing the topic of the conversation thread of the SharingItem.

CreationTime returns a Date indicating the creation time for the SharingItem.

DeferredDeliveryTime returns or sets a Date indicating the date and time the SharingItem is to be delivered.

DeleteAfterSubmit returns or sets a Boolean value that is True if a copy of the item is not saved upon being sent, and False if a copy is saved.

DownloadState returns a constant that belongs to the OlDownloadState enumeration indicating the download state of the SharingItem.

EntryID returns a String representing the unique Entry ID of the SharingItem.

ExpiryTime returns or sets a Date indicating the date and time at which the SharingItem becomes invalid and can be deleted.

FlagRequest returns or sets a String indicating the requested action for the SharingItem.

FormDescription returns the FormDescription object that represents the form description for the specified SharingItem.

GetInspector returns an Inspector object that represents an inspector initialized to contain the specified SharingItem.

HTMLBody returns or sets a String representing the HTML body of the specified SharingItem.

Importance returns or sets an OlImportance constant indicating the relative importance level for the SharingItem.

InternetCodepage returns or sets a Long that determines the Internet code page used by the SharingItem object.

IsConflict returns a Boolean that determines if the SharingItem is in conflict.

IsMarkedAsTask returns a Boolean value that indicates whether the SharingItem is marked as a task.

ItemProperties returns an ItemProperties collection that represents all standard and user-defined properties associated with the SharingItem.

LastModificationTime returns a Date specifying the date and time that the SharingItem was last modified.

MarkForDownload returns or sets an OlRemoteStatus constant that determines the status of an item once it is received by a remote user.

MessageClass returns or sets a String representing the message class for the SharingItem.

Mileage returns or sets a String representing the mileage for a SharingItem.

NoAging returns or sets a Boolean value that is True to not age the SharingItem.

OriginatorDeliveryReportRequested returns or sets a Boolean value that determines whether the originator of the SharingItem will receive a delivery report.

OutlookInternalVersion returns a Long representing the build number of the Outlook application for a SharingItem.

OutlookVersion returns a String indicating the major and minor version number of the Outlook application for a SharingItem.

Permission sets or returns an OlPermission constant that determines what permissions to grant the recipients on the SharingItem.

PermissionService sets or returns an OlPermissionService constant that determines the permission service that will be used when sending a SharingItem protected by Information Rights Management (IRM).

PermissionTemplateGuid returns or sets a String that represents the GUID of the template file to be applied to the SharingItem in order to specify Information Rights Management (IRM) permissions.

PropertyAccessor returns a PropertyAccessor object that supports creating, getting, setting, and deleting properties of the parent SharingItem object.

ReadReceiptRequested returns a Boolean value that indicates True if a read receipt has been requested by the sender.

ReceivedByEntryID returns a String representing the EntryID for the true recipient as set by the transport provider delivering the SharingItem.

ReceivedByName returns a String representing the display name of the true recipient for the SharingItem.

ReceivedOnBehalfOfEntryID returns a String representing the EntryID of the user delegated to represent the recipient for the SharingItem.

ReceivedOnBehalfOfName returns a String representing the display name of the user delegated to represent the recipient for the SharingItem.

ReceivedTime returns a Date indicating the date and time at which the SharingItem was received.

RecipientReassignmentProhibited returns a Boolean that indicates True if the recipient cannot forward the specified SharingItem.

Recipients returns a Recipients collection that represents all the recipients for the SharingItem.

ReminderOverrideDefault returns or sets a Boolean value that is True if the reminder overrides the default reminder behavior for the specified SharingItem.

ReminderPlaySound returns or sets a Boolean value that is True if the reminder should play a sound when it occurs for the specified SharingItem.

ReminderSet returns or sets a Boolean value that is True if a reminder has been set for the specified SharingItem.

ReminderSoundFile returns or sets a String indicating the path and file name of the sound file to play when the reminder occurs for the Outlook item.

ReminderTime returns or sets a Date indicating the date and time at which the reminder should occur for the specified SharingItem.

RemoteID returns a String that represents the unique identifier of the sharing context for a SharingItem object.

RemoteName returns a String that represents the name of the sharing context for a SharingItem object.

RemotePath returns a String that represents the path of the sharing context for a SharingItem object.

RemoteStatus returns or sets an OlRemoteStatus constant specifying the remote status of the SharingItem.

ReplyRecipientNames returns a semicolon-delimited String list of reply recipients for the SharingItem.

ReplyRecipients returns a Recipients collection that represents all the reply recipient objects for the SharingItem.

RequestedFolder returns an OlDefaultFolders constant that represents the type of default folder to which access is requested by a sharing request.

RetentionExpirationDate returns a Date that specifies the date when the SharingItem object expires, after which the Messaging Records Management (MRM) Assistant will delete the item.

RetentionPolicyName returns a String that specifies the name of the retention policy.

RTFBody returns or sets a Byte array that represents the body of the Microsoft Outlook item in Rich Text Format. Read/write.

Saved returns a Boolean value that is True if the SharingItem has not been modified since the last save.

SaveSentMessageFolder returns or sets a Folder object that represents the folder in which a copy of the SharingItem will be saved after being sent.

SenderEmailAddress returns a String that represents the email address of the sender of the SharingItem.

SenderEmailType returns a String that represents the type of entry for the email address of the sender of the SharingItem, such as 'SMTP' for Internet address, 'EX' for a Microsoft Exchange server address, and so on.

SenderName returns a String indicating the display name of the sender for the SharingItem.

SendUsingAccount returns or sets an Account object that represents the account under which the SharingItem is to be sent.

Sensitivity returns or sets an OlSensitivity constant indicating the sensitivity for the SharingItem.

Sent returns a Boolean value that indicates if the SharingItem has been sent.

SentOn returns a Date indicating the date and time on which the SharingItem was sent.

SentOnBehalfOfName returns or sets a String indicating the display name for the intended sender of the SharingItem.

Session returns the NameSpace object for the current session.

SharingProvider returns an OlSharingProvider constant that indicates the sharing provider used by the SharingItem.

SharingProviderGuid returns a String that represents the GUID of the sharing provider used by the SharingItem object.

Size returns a Long indicating the size (in bytes) of the SharingItem.

Subject returns or sets a String indicating the subject for the SharingItem.

Submitted returns a Boolean value that is True if the SharingItem has been submitted.

TaskCompletedDate returns or sets a Date value that represents the completion date of the task for this SharingItem.

TaskDueDate returns or sets a Date value that represents the due date of the task for this SharingItem.

TaskStartDate returns or sets a Date value that represents the start date of the task for this SharingItem object.

TaskSubject returns or sets a String value that represents the subject of the task for the SharingItem object.

To returns or sets a semicolon-delimited String list of display names for the To recipients for the SharingItem.

ToDoTaskOrdinal returns or sets a Date value that represents the ordinal value of the task for the SharingItem.

Type returns or sets an OlSharingMsgType constant that indicates the type of sharing message represented by the SharingItem.

UnRead returns or sets a Boolean value that is True if the SharingItem has not been opened (read).

UserProperties returns the UserProperties collection that represents all the user properties for the SharingItem.

Account - The Account object represents an account that is defined for the current profile.

Actions - Contains a collection of Action objects that represent all the specialized actions that can be executed on an Outlook item.

Attachments - Contains a set of Attachment objects that represent the attachments in an Outlook item.

Conflicts - Contains a collection of Conflict objects that represent all Microsoft Outlook items that are in conflict with a particular Outlook item.

Conversation - Represents a conversation that includes one or more items stored in one or more folders and stores.

Folder - Represents an Outlook folder.

FormDescription - Represents the general properties of an Outlook form.

Inspector - Represents the window in which an Outlook item is displayed.

ItemProperties - A collection of all properties associated with the item.

MailItem - Represents a mail message.

NameSpace - Represents an abstract root object for any data source.

PropertyAccessor - Provides the ability to create, get, set, and delete properties on objects.

Recipients - Contains a collection of Recipient objects for an Outlook item.

UserProperties - Contains UserProperty objects that represent the custom properties of an Outlook item.