ItemWrapper constructor

ItemWrapper(
  1. Item item
)
Initializes a new instance of ItemWrapper. The ItemBase object provinding the Id.

Implementation

ItemWrapper(Item item) {
  EwsUtilities.Assert(item != null, "ItemWrapper.ctor", "item is null");
  EwsUtilities.Assert(
      !item.IsNew, "ItemWrapper.ctor", "item does not have an Id");

  this.item = item;
}