This document is archived and information here might be outdated.  Recommended version.

LayerFactoryHelper Class (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Classes > L > LayerFactoryHelper Class
ArcGIS Developer Help

LayerFactoryHelperClass Class

Helper class to create layers from names.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


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.

Supported Platforms

Windows, Solaris, Linux


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.