ArcGIS Pro 2.6 API Reference Guide
IsUnique Method

ArcGIS.Core.Data Namespace > Index Class : IsUnique Method
Indicates if the index is unique. If IsUnique is true, the field the Index was created for must not have duplicate values. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public bool IsUnique()
Public Function IsUnique() As Boolean

Return Value

true if the index is unique; otherwise, false.
Exceptions
ExceptionDescription
A geodatabase-related exception has occurred.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

Index Class
Index Members