_NameSpace.OpenSharedFolder(String, Object, Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Opens a shared folder referenced through a URL or file name.
public Microsoft.Office.Interop.Outlook.MAPIFolder OpenSharedFolder (string Path, object Name, object DownloadAttachments, object UseTTL);
Public Function OpenSharedFolder (Path As String, Optional Name As Object, Optional DownloadAttachments As Object, Optional UseTTL As Object) As MAPIFolder
Parameters
- Path
- String
The URL or local file name of the shared folder to be opened.
- Name
- Object
The name of the Really Simple Syndication (RSS) feed or Webcal calendar. This parameter is ignored for other shared folder types.
- DownloadAttachments
- Object
Indicates whether to download enclosures (for RSS feeds) or attachments (for Webcal calendars.) This parameter is ignored for other shared folder types.
- UseTTL
- Object
Indicates whether the Time To Live (TTL) setting in an RSS feed or WebCal calendar should be used. This parameter is ignored for other shared folder types.
Returns
A Folder object that represents the shared folder.
Remarks
This method is used to access the following shared folder types:
Note: This method does not support iCalendar appointment (.ics) files. To open iCalendar appointment files, you can use the OpenSharedItem(String) method of the NameSpace object.
You can use the GetSharedDefaultFolder(Recipient, OlDefaultFolders) method of the Namespace object to share default folders, such as the Inbox folder, in Exchange.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應