ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.Data Namespace / Index Class / IsUnique Method

In This Topic
    IsUnique Method
    In This Topic
    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

    ArcGIS Pro version: 3 or higher.
    See Also