CmisSync.Lib.Cmis.ConvenienceExtenders.CmisConvenienceExtenders.RemoveAllSyncIgnores C# (CSharp) Метод

RemoveAllSyncIgnores() публичный статический Метод

Removes all sync ignores flags from the given cmis object
public static RemoveAllSyncIgnores ( this obj ) : void
obj this Remote CMIS Object.
Результат 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);
            }
        }