메소드 | 설명 | |
---|---|---|
Dispose ( ) : void |
메소드 | 설명 | |
---|---|---|
CommandFilter ( ) : System |
Initializes a new instance of the CommandFilter class.
|
|
Connect ( ) : Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget |
Enables the command filter by connecting it to a chain of command targets. |
|
Disconnect ( ) : void |
Disables the command filter by disconnecting it from a chain of command targets. |
|
Dispose ( bool disposing ) : void |
Releases the unmanaged resources used by this instance. When disposing is |
|
HandlePostExec ( System.Guid &commandGroup, uint commandId, Microsoft.VisualStudio.OLE.Interop.OLECMDEXECOPT executionOptions, |
This method supports specialized handling in response to commands that are successfully handled by another command target. This method is only called if HandlePreExec for the current instance returned The default implementation is empty. |
|
HandlePreExec ( System.Guid &commandGroup, uint commandId, Microsoft.VisualStudio.OLE.Interop.OLECMDEXECOPT executionOptions, |
This method supports the implementation for commands which are directly implemented by this command filter. The default implementation returns |
|
QueryCommandStatus ( System.Guid &commandGroup, uint commandId ) : Microsoft.VisualStudio.OLE.Interop.OLECMDF |
Gets the current status of a particular command. The base implementation returns 0 for all commands, indicating the command is not supported by this command filter. |
|
QueryParameterList ( System.Guid &commandGroup, uint commandId, Microsoft.VisualStudio.OLE.Interop.OLECMDEXECOPT executionOptions, |
||
ThrowIfDisposed ( ) : void |
Throw an ObjectDisposedException if the current instance has been disposed.
|
메소드 | 설명 | |
---|---|---|
ExecCommand ( System.Guid &guidCmdGroup, uint nCmdID, Microsoft.VisualStudio.OLE.Interop.OLECMDEXECOPT nCmdexecopt, |
||
IOleCommandTarget ( System.Guid &guidCmdGroup, uint cCmds, Microsoft.VisualStudio.OLE.Interop.OLECMD prgCmds, |
||
IOleCommandTarget ( System.Guid &guidCmdGroup, uint nCmdID, uint nCmdexecopt, |
||
InnerExec ( System.Guid &commandGroup, uint commandId, Microsoft.VisualStudio.OLE.Interop.OLECMDEXECOPT executionOptions, |
protected abstract Connect ( ) : Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget | ||
리턴 | Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
리턴 | void |
protected HandlePostExec ( System.Guid &commandGroup, uint commandId, Microsoft.VisualStudio.OLE.Interop.OLECMDEXECOPT executionOptions, |
||
commandGroup | System.Guid | The command group. |
commandId | uint | The command ID. |
executionOptions | Microsoft.VisualStudio.OLE.Interop.OLECMDEXECOPT | The OLE command execution options. |
pvaIn | An optional pointer to the command argument(s). The semantics of this parameter are specific to a particular command. | |
pvaOut | An optional pointer to the command result(s). The semantics of this parameter are specific to a particular command. | |
리턴 | void |
protected HandlePreExec ( System.Guid &commandGroup, uint commandId, Microsoft.VisualStudio.OLE.Interop.OLECMDEXECOPT executionOptions, |
||
commandGroup | System.Guid | The command group. |
commandId | uint | The command ID. |
executionOptions | Microsoft.VisualStudio.OLE.Interop.OLECMDEXECOPT | The OLE command execution options. |
pvaIn | An optional pointer to the command argument(s). The semantics of this parameter are specific to a particular command. | |
pvaOut | An optional pointer to the command result(s). The semantics of this parameter are specific to a particular command. | |
리턴 | bool |
protected QueryCommandStatus ( System.Guid &commandGroup, uint commandId ) : Microsoft.VisualStudio.OLE.Interop.OLECMDF | ||
commandGroup | System.Guid | The command group. |
commandId | uint | The command ID. |
리턴 | Microsoft.VisualStudio.OLE.Interop.OLECMDF |
protected QueryParameterList ( System.Guid &commandGroup, uint commandId, Microsoft.VisualStudio.OLE.Interop.OLECMDEXECOPT executionOptions, |
||
commandGroup | System.Guid | |
commandId | uint | |
executionOptions | Microsoft.VisualStudio.OLE.Interop.OLECMDEXECOPT | |
pvaIn | ||
pvaOut | ||
리턴 | int |