Skip to main content

SubDocument.CancelUpdateRangePermissions(RangePermissionCollection) Method

Finalizes the update process, leaving range permissions intact.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v23.2.Core.dll

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

void CancelUpdateRangePermissions(
    RangePermissionCollection permissions
)

Parameters

Name Type Description
permissions RangePermissionCollection

A RangePermissionCollection containing range permissions being updated.

Remarks

Use the CancelUpdateRangePermissions method after a call to the SubDocument.BeginUpdateRangePermissions to finalize the update and discard the changes.

If you do not plan to modify range permissions, use the SubDocument.BeginUpdateRangePermissions method to obtain them, and the CancelUpdateRangePermissions method to indicate that no modifications will occur. To modify permissions, finalize the process with the SubDocument.EndUpdateRangePermissions method instead.

See Also