ArcFM Solution Developer Guide
GetSubtypeByID Method (IMMFeatureClass)


Version: 10.2.1b and 10.2.1b SP1

Resource Center Home

IObjectClass

subtype code as long

A boolean value indicating whether to return only fields or fields and their settings. True = Only fields; False = Fields and settings

Returns an IMMSubtype object and optionally the associated field settings. Parameters include the object class, subtype code, and field settings.
Syntax
IMMSubtype GetSubtypeByID( 
   ESRI.ArcGIS.Geodatabase.IObjectClass pObjectClass,
   int pSubTypeCode,
   bool bFieldOnly
)
'Declaration
 
Function GetSubtypeByID( _
   ByVal pObjectClass As ESRI.ArcGIS.Geodatabase.IObjectClass, _
   ByVal pSubTypeCode As Integer, _
   ByVal bFieldOnly As Boolean _
) As IMMSubtype
 
'Usage
 
Dim instance As IMMFeatureClass
Dim pObjectClass As ESRI.ArcGIS.Geodatabase.IObjectClass
Dim pSubTypeCode As Integer
Dim bFieldOnly As Boolean
Dim value As IMMSubtype
 
value = instance.GetSubtypeByID(pObjectClass, pSubTypeCode, bFieldOnly)

Parameters

pObjectClass
IObjectClass
pSubTypeCode

subtype code as long

bFieldOnly

A boolean value indicating whether to return only fields or fields and their settings. True = Only fields; False = Fields and settings

Return Value

Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

IMMFeatureClass Interface
IMMFeatureClass Members

 

 


Send Comment