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


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

ILayerFactory.Create Method

Creates layer(s) based on the specified object.

[Visual Basic .NET]
Public Function Create ( _
    ByVal inputObject As Object _
) As IEnumLayer
[C#]
public IEnumLayer Create (
    object inputObject
);
[C++]
HRESULT Create(
  LPUNKNOWN inputObject
);
[C++]
Parameters
inputObject [in]

inputObject is a parameter of type IUnknown

Product Availability

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

Description

Creates a layer using the factory defined by the implementing coclass and the supplied object.  This object can be a name object.

See Also

ILayerFactory Interface