ArcObjects Library Reference  (Carto)    

IIdentifyObj.CanIdentify Method

Indicates if the object can identify the specified layer.

[Visual Basic 6.0]
Function CanIdentify(
    ByVal pLayer As ILayer _
) As Boolean
[Visual Basic .NET]
Public Function CanIdentify ( _
    ByVal pLayer As ILayer _
) As Boolean
[C#]
public bool CanIdentify (
    ILayer pLayer
);
[Java]
public Boolean canIdentify (
    ILayer pLayer
)
throws
    IOException,
    AutomationException
[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