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


ILayerFactoryHelper Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILayerFactoryHelper Interface
ArcGIS Developer Help

ILayerFactoryHelper Interface

Provides access to members used 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.

Members

Name Description
Method CreateLayersFromName Given a name attempts to open it using the layer factories, if successful returns a layers enumerator.

Classes that implement ILayerFactoryHelper

Classes Description
LayerFactoryHelper Helper class to create layers from names.

Remarks

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.