This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILayerFactoryHelper Interface (ArcObjects .NET 10.4 SDK) |
Provides access to members used to create layers from names.
Provides a helper method to iterate the Layer Factory component category to find a layer factory object that is used to create one or more layer objects.
Description | ||
---|---|---|
CreateLayersFromName | Given a name attempts to open it using the layer factories, if successful returns a layers enumerator. |
CoClasses and Classes | Description |
---|---|
LayerFactoryHelper | Helper class to create layers from names. |
The CreateLayersFromName method internally iterates the objects in the "Layer Factory" component category and uses the ILayerFactory::CanCreate and ILayerFactory::Create methods to create the layers. Numerous layer factories are registered in the "Layer Factory" component categories with all ArcGIS products.