ArcGIS Pro 2.8 API Reference Guide
GetCode Method

ArcGIS.Core.Data Namespace > Subtype Class : GetCode Method
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 10, Windows 8.1

See Also

Reference

Subtype Class
Subtype Members