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.CanCreate Property (ArcObjects .NET 10.5 SDK) |
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