public static RemoveAllSyncIgnores ( this obj ) : void | ||
obj | this | Remote CMIS Object. |
Résultat | void |
public static void RemoveAllSyncIgnores(this ICmisObject obj) {
Dictionary<string, object> properties = new Dictionary<string, object>();
var ids = obj.SecondaryObjectTypeIds();
if (ids.Remove("gds:sync")) {
properties.Add(PropertyIds.SecondaryObjectTypeIds, ids);
obj.UpdateProperties(properties, true);
}
}