ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Editing.Attributes Namespace / Inspector Class / ChangeSubtype(Int32,Boolean) Method
An integer value indicating the desired code
A Boolean value indicating whether the default attributes for the feature need to be changed to those defined by the proposed subtype

In This Topic
    ChangeSubtype(Int32,Boolean) Method
    In This Topic
    Change the subtype of the features.
    Syntax
    public bool ChangeSubtype( 
       int proposedCode,
       bool propogate
    )
    Public Function ChangeSubtype( _
       ByVal proposedCode As Integer, _
       Optional ByVal propogate As Boolean _
    ) As Boolean

    Parameters

    proposedCode
    An integer value indicating the desired code
    propogate
    A Boolean value indicating whether the default attributes for the feature need to be changed to those defined by the proposed subtype

    Return Value

    A boolean indicating whether subtype change was applied.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also