This document is archived and information here might be outdated.  Recommended version.


ISubtypes.SubtypeName Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IS > ISubtypes Interface > ISubtypes.SubtypeName Property
ArcGIS Developer Help

ISubtypes.SubtypeName Property

The subtype name.

[Visual Basic .NET]
Public Function get_SubtypeName ( _
    ByVal SubtypeCode As Integer _
) As String
[C#]
public string get_SubtypeName (
    int SubtypeCode
);
[C++]
HRESULT get_SubtypeName(
  long SubtypeCode,
  System.String* SubtypeName
);
[C++]
Parameters
SubtypeCode [in]

SubtypeCode is a parameter of type long SubtypeName [out, retval]
SubtypeName is a parameter of type BSTR*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

SubtypeName property returns the subtype name for the subtype referred to by the parameter subtypecode.

Remarks

This property returns the name of a subtype for a given subtype code for the associated object class. The subtype code is required as a Long and returns the name of the subtype as a String.

[C++] When using C++, test for an HRESULT of S_FALSE for the end of the enumeration.

See Also

ISubtypes Interface