RemoveContactPicture method

void RemoveContactPicture()
Removes the contact's picture.

Implementation

void RemoveContactPicture() {
  EwsUtilities.ValidateMethodVersion(
    Service,
    ExchangeVersion.Exchange2010,
    "RemoveContactPicture",
  );

  if (!PropertyBag.IsPropertyLoaded(ItemSchema.Attachments)) {
    throw PropertyException("AttachmentCollectionNotLoaded");
  }

  InternalRemoveContactPicture();
}