ArcGIS Pro 2.6 API Reference Guide
GetSubtypes Method

ArcGIS.Core.Data Namespace > TableDefinition Class : GetSubtypes Method
Gets a IReadOnlyList of the table's subtype codes. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public IReadOnlyList<Subtype> GetSubtypes()
Public Function GetSubtypes() As IReadOnlyList(Of Subtype)

Return Value

A IReadOnlyList of the table's subtype codes.
Exceptions
ExceptionDescription
The definition does not support this operation (e.g., the table is a shapefile).
A geodatabase-related exception has occurred.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

TableDefinition Class
TableDefinition Members