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


ILayerFactory.CanCreate Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

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