Item.withAttachment constructor

Item.withAttachment(
  1. ItemAttachment parentAttachment
)
Initializes a new instance of the The parent attachment.

Implementation

Item.withAttachment(ItemAttachment parentAttachment)
    : super(parentAttachment.Service) {
  EwsUtilities.Assert(
      parentAttachment != null, "Item.ctor", "parentAttachment is null");

  this._parentAttachment = parentAttachment;
}