Back to Devexpress

SubDocument.EndUpdateRangePermissions(RangePermissionCollection) Method

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-subdocument-dot-endupdaterangepermissions-x28-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-rangepermissioncollection-x29.md

latest3.3 KB
Original Source

SubDocument.EndUpdateRangePermissions(RangePermissionCollection) Method

Finalizes the update and applies the changes to range permissions.

Namespace : DevExpress.XtraRichEdit.API.Native

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
void EndUpdateRangePermissions(
    RangePermissionCollection permissions
)
vb
Sub EndUpdateRangePermissions(
    permissions As RangePermissionCollection
)

Parameters

NameTypeDescription
permissionsRangePermissionCollection

A RangePermissionCollection containing range permissions being updated.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the EndUpdateRangePermissions(RangePermissionCollection) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

word-document-api-examples/CS/CodeExamples/ProtectionActions.cs#L108

csharp
// Finalize to update the range permissions collection.
document.EndUpdateRangePermissions(rangePermissions);

word-document-api-examples/VB/CodeExamples/ProtectionActions.vb#L88

vb
' Finalize to update the range permissions collection.
document.EndUpdateRangePermissions(rangePermissions)
' Protect the document with a password.

See Also

BeginUpdateRangePermissions()

CancelUpdateRangePermissions(RangePermissionCollection)

Authentication

SubDocument Interface

SubDocument Members

DevExpress.XtraRichEdit.API.Native Namespace