RemoveContactPicture method

void RemoveContactPicture()
Removes the contact's picture.

Implementation

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

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

  InternalRemoveContactPicture();
}