ArcFM Solution Developer Guide
FieldNamesFromModelName Method






IObjectClass
A string expression that determines the model name
Given a class and field model name, this routine returns an enumeration of all the field names in the given class that contain the given field model name.
Syntax
'Declaration
 
Function FieldNamesFromModelName( _
   ByVal pClass As ESRI.ArcGIS.Geodatabase.IObjectClass, _
   ByVal bstrModelName As System.String _
) As ESRI.ArcGIS.esriSystem.IEnumBSTR
'Usage
 
Dim instance As IMMModelNameManager
Dim pClass As ESRI.ArcGIS.Geodatabase.IObjectClass
Dim bstrModelName As System.String
Dim value As ESRI.ArcGIS.esriSystem.IEnumBSTR
 
value = instance.FieldNamesFromModelName(pClass, bstrModelName)
ESRI.ArcGIS.esriSystem.IEnumBSTR FieldNamesFromModelName( 
   ESRI.ArcGIS.Geodatabase.IObjectClass pClass,
   System.string bstrModelName
)
function FieldNamesFromModelName( 
    pClass: ESRI.ArcGIS.Geodatabase.IObjectClass;
    bstrModelName: System.String
): ESRI.ArcGIS.esriSystem.IEnumBSTR; 
function FieldNamesFromModelName( 
   pClass : ESRI.ArcGIS.Geodatabase.IObjectClass,
   bstrModelName : System.String
) : ESRI.ArcGIS.esriSystem.IEnumBSTR;
ESRI.ArcGIS.esriSystem.IEnumBSTR* FieldNamesFromModelName( 
   ESRI.ArcGIS.Geodatabase.IObjectClass* pClass,
   System.string* bstrModelName
) 
ESRI.ArcGIS.esriSystem.IEnumBSTR^ FieldNamesFromModelName( 
   ESRI.ArcGIS.Geodatabase.IObjectClass^ pClass,
   System.String^ bstrModelName
) 

Parameters

pClass
IObjectClass
bstrModelName
A string expression that determines the model name

Return Value

Returns an object that implements the IEnumBSTR interface
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IMMModelNameManager Interface
IMMModelNameManager Members

Send Feedback