Partager via


IOleCommandTarget Interface

Definition

Represents an interface that enables objects and their containers to dispatch commands to each other.

public interface class IOleCommandTarget
[System.Runtime.InteropServices.Guid("b722bccb-4e68-101b-a2bc-00aa00404770")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IOleCommandTarget
[<System.Runtime.InteropServices.Guid("b722bccb-4e68-101b-a2bc-00aa00404770")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IOleCommandTarget = interface
Public Interface IOleCommandTarget
Attributes

Methods

Exec(Guid, UInt32, UInt32, Object[], Object[])

Executes the specified command or displays help for the command.

QueryStatus(Guid, Int32, IntPtr, IntPtr)

Queries the object for the status of one or more commands generated by user interface events.

Applies to