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,
  VARIANT_BOOL* ok
);
[C++]

Parameters

inputObject [in]   inputObject is a parameter of type LPUNKNOWN ok [out, retval]   ok is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

ILayerFactory Interface