This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Classes > L > LayerFactoryHelper CoClass (ArcObjects .NET 10.5 SDK) |
Helper class 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.
Interfaces | Description |
---|---|
ILayerFactoryHelper | Provides access to members used to create layers from names. |
The CreateLayersFromName method is of limited use to ArcGIS Engine and ArcGIS for Server developers because there is only a small subset of layer factories present and registered in the 'Layer Factory' component category. The CreateLayersFromName method internally iterates the objects in the "Layer Factory" component category and uses the ILayerFactory::CanCreate and ILayerFactory::Create methods.