ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.Data Namespace / AttributeRuleDefinition Class / GetTags Method

In This Topic
    GetTags Method
    In This Topic
    Gets the set of tags for the rule. Mutliple tags are returned as a semicolon delimited string. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public IReadOnlyList<string> GetTags()
    Public Function GetTags() As IReadOnlyList(Of String)

    Return Value

    A ReadOnlyList of string.
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run
    A geodatabase-related exception has occurred.
    Remarks
    Tags can be used to identify the rule (for searching and indexing). If no tags are assigned an empty list is returned.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also