oFunction.Properties.HARNESS_NAME = "old value"; oFunction.WriteProtected = true; using (UndoStep oUndoStep = new UndoManager().CreateUndoStep()) { oFunction.Properties.HARNESS_NAME = "new value"; } Console.WriteLine(oFunction.Properties.HARNESS_NAME.ToString()); //will be 'old value' returned
Name | Description | |
---|---|---|
WriteProtected | Checks if an object is currently write protected or sets manual write protection |
Name | Description | |
---|---|---|
GetWriteProtectionFlagSet | Checks what kind of a write protection was set. | |
PauseWriteProtection | Temporarily disables write protection. Note that current write protection flags are not cleared. |