ArcObjects Library Reference (Controls)  

ICommandPool.Exists Method

Indicates if the given command exists in the command pool.

[Visual Basic .NET]
Public Function Exists ( _
    ByVal Command As ICommand _
) As Boolean
[C#]
public bool Exists (
    ICommand Command
);
[C++]
HRESULT Exists(
  ICommand* Command,
  VARIANT_BOOL* res
);
[C++]

Parameters

Command [in]

  Command is a parameter of type ICommand

res [out, retval]   res is a parameter of type VARIANT_BOOL

Product Availability

Available with ArcGIS Engine.

Description

Indicates whether the specified command exists in the CommandPool.

See Also

ICommandPool Interface