This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILayerFactory Interface > ILayerFactory.Create Method (ArcObjects .NET 10.5 SDK) |
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,
IEnumLayer** Layers
);
[C++]
Parameters inputObject [in] inputObject is a parameter of type LPUNKNOWN Layers [out, retval]
Layers is a parameter of type IEnumLayer
Creates a layer using the factory defined by the implementing coclass and the supplied object. This object can be a name object.