CreateAttachments method
Future<ServiceResponseCollection<CreateAttachmentResponse> >
CreateAttachments(
- String? parentItemId,
- Iterable<
Attachment?> attachments
Implementation
Future<ServiceResponseCollection<CreateAttachmentResponse>> CreateAttachments(
String? parentItemId, Iterable<Attachment?> attachments) {
CreateAttachmentRequest request =
new CreateAttachmentRequest(this, ServiceErrorHandling.ReturnErrors);
request.ParentItemId = parentItemId;
request.Attachments.addAll(attachments);
return request.Execute();
}