/** * The owner of this attachment collection. * * @param value accepts ServiceObject */ public void setOwner(ServiceObject value) { Item item = (Item) value; EwsUtilities.ewsAssert( item != null, "AttachmentCollection.IOwnedProperty.set_Owner", "value is not a descendant of ItemBase"); this.owner = item; }
/** * Initializes a new instance of the UpdateFolderResponse class. * * @param folder The folder */ public UpdateFolderResponse(Folder folder) { super(); EwsUtilities.ewsAssert(folder != null, "UpdateFolderResponse.ctor", "folder is null"); this.folder = folder; }