ArcFM Engine Developer Guide
FindLayer Method (IMMMapUtilities)


IMap object (map or data frame) in which to look for the layer

IFeature object in which to look for the layer
Searches for a specific feature layer given a map (data frame) and a feature.
Syntax
'Declaration
 
Function FindLayer( _
   ByVal pMap As ESRI.ArcGIS.Carto.IMap, _
   ByVal pFeature As ESRI.ArcGIS.Geodatabase.IFeature _
) As ESRI.ArcGIS.Carto.ILayer
'Usage
 
Dim instance As IMMMapUtilities
Dim pMap As ESRI.ArcGIS.Carto.IMap
Dim pFeature As ESRI.ArcGIS.Geodatabase.IFeature
Dim value As ESRI.ArcGIS.Carto.ILayer
 
value = instance.FindLayer(pMap, pFeature)
ESRI.ArcGIS.Carto.ILayer FindLayer( 
   ESRI.ArcGIS.Carto.IMap pMap,
   ESRI.ArcGIS.Geodatabase.IFeature pFeature
)

Parameters

pMap

IMap object (map or data frame) in which to look for the layer

pFeature
IFeature object in which to look for the layer

Return Value

ILayer
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

IMMMapUtilities Interface
IMMMapUtilities Members

 

 


Send Comment