Edit

Share via


_SharingItem.OpenSharedFolder Method

Definition

Opens a shared folder offered by a sharing invitation.

public:
 Microsoft::Office::Interop::Outlook::MAPIFolder ^ OpenSharedFolder();
public Microsoft.Office.Interop.Outlook.MAPIFolder OpenSharedFolder ();
Public Function OpenSharedFolder () As MAPIFolder

Returns

A Folder object that represents the shared folder.

Remarks

This method allows the recipient of a sharing invitation to open the shared folder offered by the sender. An error occurs if this method is called on a SharingItem object with a type property value other than olSharingMsgTypeInvite or olSharingMsgTypeInviteAndRequest, or if Outlook cannot connect to the shared folder.

Applies to