ArcObjects Library Reference (Carto)  

IWMSIdentifyObject.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

IWMSIdentifyObject Interface