InternalFindItems<TItem extends Item> method
Copies this folder into a specific folder. Calling this method results in a call to EWS.
The Id of the folder in which to copy this folder.
/ EwsUtilities.ValidateParam(destinationFolderId, "destinationFolderId");
Copies this folder into the specified folder. Calling this method results in a call to EWS.
The name of the folder in which to copy this folder.
Moves this folder to a specific folder. Calling this method results in a call to EWS.
The Id of the folder in which to move this folder.
/ EwsUtilities.ValidateParam(destinationFolderId, "destinationFolderId");
Moves this folder to the specified folder. Calling this method results in a call to EWS.
The name of the folder in which to move this folder.
Find items.
query String to be used for indexed search
The view controlling the number of items returned.
The group by.
Implementation
// Folder Copy(FolderId destinationFolderId)
// {
// this.ThrowIfThisIsNew();
//
//// EwsUtilities.ValidateParam(destinationFolderId, "destinationFolderId");
//
// return this.Service.CopyFolder(this.Id, destinationFolderId);
// }
/// <summary>
/// Copies this folder into the specified folder. Calling this method results in a call to EWS.
/// </summary>
/// <param name="destinationFolderName">The name of the folder in which to copy this folder.</param>
/// <returns>A Folder representing the copy of this folder.</returns>
// Folder CopyWithWellKnownFolderName(enumerations.WellKnownFolderName destinationFolderName)
// {
// return this.Copy(new FolderId.fromWellKnownFolder(destinationFolderName));
// }
/// <summary>
/// Moves this folder to a specific folder. Calling this method results in a call to EWS.
/// </summary>
/// <param name="destinationFolderId">The Id of the folder in which to move this folder.</param>
/// <returns>A new folder representing this folder in its new location. After Move completes, this folder does not exist anymore.</returns>
// Folder Move(FolderId destinationFolderId)
// {
// this.ThrowIfThisIsNew();
//
//// EwsUtilities.ValidateParam(destinationFolderId, "destinationFolderId");
//
// return this.Service.MoveFolder(this.Id, destinationFolderId);
// }
/// <summary>
/// Moves this folder to the specified folder. Calling this method results in a call to EWS.
/// </summary>
/// <param name="destinationFolderName">The name of the folder in which to move this folder.</param>
/// <returns>A new folder representing this folder in its new location. After Move completes, this folder does not exist anymore.</returns>
// Folder MoveWithWellKnownFolderName(enumerations.WellKnownFolderName destinationFolderName)
// {
// return this.Move(new FolderId.fromWellKnownFolder(destinationFolderName));
// }
/// <summary>
/// Find items.
/// </summary>
/// <typeparam name="TItem">The type of the item.</typeparam>
/// <param name="queryString">query String to be used for indexed search</param>
/// <param name="view">The view controlling the number of items returned.</param>
/// <param name="groupBy">The group by.</param>
/// <returns>FindItems response collection.</returns>
Future<ServiceResponseCollection<FindItemResponse<TItem>>>
InternalFindItems<TItem extends Item>(
String? queryString, ViewBase view, Grouping? groupBy) {
this.ThrowIfThisIsNew();
return this.Service.FindItemsGeneric<TItem>(
[this.Id],
null,
/* searchFilter */
queryString,
view,
groupBy,
ServiceErrorHandling.ThrowOnError);
}