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


IIdentifyObj.CanIdentify Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IIdentifyObj.CanIdentify Method

Indicates if the object can identify the specified layer.

[Visual Basic .NET]
Public Function CanIdentify ( _
    ByVal pLayer As ILayer _
) As Boolean
[C#]
public bool CanIdentify (
    ILayer pLayer
);
[C++]
HRESULT CanIdentify(
  ILayer* pLayer,
  VARIANT_BOOL* b
);
[C++]

Parameters pLayer [in]
pLayer is a parameter of type ILayer b [out, retval] b is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

IIdentifyObj Interface