This documentation is archived and is not being maintained.
The class represents a target folder for operations that create, save, copy, move, or synchronize items or folders.
Assembly: EWS (in EWS.dll)
// Identify the destination folder. DistinguishedFolderIdType destFolder = new DistinguishedFolderIdType(); destFolder.Id = DistinguishedFolderIdNameType.inbox; // Form the copy item request. CopyItemType request = new CopyItemType(); request.ItemIds = items; request.ToFolderId = new TargetFolderIdType(); request.ToFolderId.Item = destFolder;