VsTextViewClass.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:
virtual int RemoveCommandFilter(Microsoft::VisualStudio::OLE::Interop::IOleCommandTarget ^ pCmdTarg) = Microsoft::VisualStudio::TextManager::Interop::IVsTextView::RemoveCommandFilter;
public:
virtual int RemoveCommandFilter(Microsoft::VisualStudio::OLE::Interop::IOleCommandTarget ^ pCmdTarg);
public:
virtual int RemoveCommandFilter(Microsoft::VisualStudio::OLE::Interop::IOleCommandTarget ^ pCmdTarg) = Microsoft::VisualStudio::TextManager::Interop::IVsTextView::RemoveCommandFilter;
virtual int RemoveCommandFilter(Microsoft::VisualStudio::OLE::Interop::IOleCommandTarget const & pCmdTarg);
public virtual int RemoveCommandFilter (Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget pCmdTarg);
abstract member RemoveCommandFilter : Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget -> int
override this.RemoveCommandFilter : Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget -> int
Public Overridable 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.