Back to Devexpress

ConflictNameAction Enum

officefileapi-devexpress-dot-xtrarichedit-86b1ca73.md

latest1.9 KB
Original Source

ConflictNameAction Enum

Lists actions that can be performed when a bookmark in the document being inserted and in the target document have the same name.

Namespace : DevExpress.XtraRichEdit

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
[ComVisible(true)]
public enum ConflictNameAction
vb
<ComVisible(True)>
Public Enum ConflictNameAction

Members

NameDescription
Keep

Keep bookmarks with the same name providing different internal names to distinguish them.

| | Rename |

Append the underscore and a number to the name of the bookmark being inserted if the target document already contains a bookmark with the same name.

| | Skip |

Do not create a bookmark if the target document contains a bookmark with the same name as the bookmark being inserted.

|

The following properties accept/return ConflictNameAction values:

LibraryRelated API Members
WPF ControlsDXRichEditBookmarkOptions.ConflictNameResolution
Office File APIBookmarkOptions.ConflictNameResolution

Remarks

Use the BookmarkOptions.ConflictNameResolution property to specify the ConflictNameAction enumeration.

See Also

DevExpress.XtraRichEdit Namespace