ArcGIS Pro 2.9 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 11, Windows 10, Windows 8.1

See Also

Reference

Index Class
Index Members