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


LayerFactoryHelper CoClass (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Classes > L > LayerFactoryHelper CoClass (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

LayerFactoryHelper CoClass

Helper class to create layers from names.

Product Availability

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

Description

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

Interfaces Description
ILayerFactoryHelper Provides access to members used to create layers from names.

Remarks

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.