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


ILayerFactory.CanCreate Property (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.CanCreate Property
ArcGIS Developer Help

ILayerFactory.CanCreate Property

Indicates if the factory can create a layer based upon the specified object.

[Visual Basic .NET]
Public Function get_CanCreate ( _
    ByVal inputObject As Object _
) As Boolean
[C#]
public bool get_CanCreate (
    object inputObject
);
[C++]
HRESULT get_CanCreate(
  LPUNKNOWN inputObject,
  Boolean* ok
);
[C++]
Parameters
inputObject [in]

inputObject is a parameter of type IUnknown ok [out, retval]
ok is a parameter of type bool*

Product Availability

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

See Also

ILayerFactory Interface