IVsTextView.RemoveCommandFilter(IOleCommandTarget) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes a command filter from the chain of command filters.
public:
int RemoveCommandFilter(Microsoft::VisualStudio::OLE::Interop::IOleCommandTarget ^ pCmdTarg);
public:
int RemoveCommandFilter(Microsoft::VisualStudio::OLE::Interop::IOleCommandTarget ^ pCmdTarg);
int RemoveCommandFilter(Microsoft::VisualStudio::OLE::Interop::IOleCommandTarget const & pCmdTarg);
public int RemoveCommandFilter (Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget pCmdTarg);
abstract member RemoveCommandFilter : Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget -> int
Public Function RemoveCommandFilter (pCmdTarg As IOleCommandTarget) As Integer
Parameters
- pCmdTarg
- IOleCommandTarget
[in] Pointer to a command filter to remove.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsTextView::RemoveCommandFilter(
[in] IOleCommandTarget *pCmdTarg
);