GetIsUpdateCallNecessary method
bool
GetIsUpdateCallNecessary(
)
Determines whether an EWS UpdateItem/UpdateFolder call is necessary to save the changes that
occurred in the bag.
Implementation
bool GetIsUpdateCallNecessary() {
List<PropertyDefinition> propertyDefinitions = <PropertyDefinition>[];
propertyDefinitions.addAll(this._addedProperties);
propertyDefinitions.addAll(this._modifiedProperties);
propertyDefinitions.addAll(this._deletedProperties.keys);
for (PropertyDefinition propertyDefinition in propertyDefinitions) {
if (propertyDefinition.HasFlagWithoutExchangeVersion(
PropertyDefinitionFlags.CanUpdate)) {
return true;
}
}
return false;
}