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


ILayerFactory.Create Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

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