共用方式為


IOleCommandTarget Interface

Definition

Enables the dispatching of commands between objects and containers. For more information, see IOleCommandTarget

public interface class IOleCommandTarget
public interface class IOleCommandTarget
__interface IOleCommandTarget
[System.Runtime.InteropServices.Guid("B722BCCB-4E68-101B-A2BC-00AA00404770")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface 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(1)>]
type IOleCommandTarget = interface
[<System.Runtime.InteropServices.Guid("B722BCCB-4E68-101B-A2BC-00AA00404770")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IOleCommandTarget = interface
Public Interface IOleCommandTarget
Derived
Attributes

Methods

Exec(Guid, UInt32, UInt32, IntPtr, IntPtr)

Executes the specified command.

QueryStatus(Guid, UInt32, OLECMD[], IntPtr)

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

Applies to