ArcFM Solution Developer Guide
ClassNamesFromModelNameWS Method






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

Parameters

pWorkspace
IWorkspace
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