ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Data Namespace / Subtype Class / GetCode Method

In This Topic
    GetCode Method
    In This Topic
    Gets the code value of the subtype. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public int GetCode()
    Public Function GetCode() As Integer

    Return Value

    The code value of the subtype.
    Exceptions
    ExceptionDescription
    A geodatabase-related exception has occurred.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also