VsTextViewClass.RemoveCommandFilter(IOleCommandTarget) Method

Definition

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.

Implements

Applies to