Edit

Share via


FolderId Constructors

Definition

Overloads

FolderId(WellKnownFolderName)

Initializes a new instance of the FolderId class, with the well-known folder name.

FolderId(String)

Initializes a new instance of the FolderId class.

FolderId(WellKnownFolderName, Mailbox)

Initializes a new instance of the FolderID class with the specified folder name and mailbox.

FolderId(WellKnownFolderName)

Initializes a new instance of the FolderId class, with the well-known folder name.

public:
 FolderId(Microsoft::Exchange::WebServices::Data::WellKnownFolderName folderName);
public FolderId (Microsoft.Exchange.WebServices.Data.WellKnownFolderName folderName);
Public Sub New (folderName As WellKnownFolderName)

Parameters

folderName
WellKnownFolderName

The folder name that is used to initialize the FolderId class.

Remarks

Use this constructor to link this folder ID to a well-known folder (for example, Inbox, Calendar, or Contacts).

Applies to

FolderId(String)

Initializes a new instance of the FolderId class.

public:
 FolderId(System::String ^ uniqueId);
public FolderId (string uniqueId);
Public Sub New (uniqueId As String)

Parameters

uniqueId
String

The unique ID that is used to initialize the FolderId class.

Remarks

Use this constructor to link this FolderId class to an existing folder.

Applies to

FolderId(WellKnownFolderName, Mailbox)

Initializes a new instance of the FolderID class with the specified folder name and mailbox.

public:
 FolderId(Microsoft::Exchange::WebServices::Data::WellKnownFolderName folderName, Microsoft::Exchange::WebServices::Data::Mailbox ^ mailbox);
public FolderId (Microsoft.Exchange.WebServices.Data.WellKnownFolderName folderName, Microsoft.Exchange.WebServices.Data.Mailbox mailbox);

Parameters

folderName
WellKnownFolderName

The folder name that is used to initialize the FolderId class.

mailbox
Mailbox

The mailbox that is used to initialize the FolderId class.

Remarks

Use this constructor to link this folder ID to a well-known folder (for example, Inbox, Calendar or Contacts) in a specific mailbox.

Applies to