VsTextViewClass.RemoveCommandFilter(IOleCommandTarget) Yöntem

Tanım

Komut filtreleri zincirinden bir komut filtresini kaldırır.

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) = 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

Parametreler

pCmdTarg
IOleCommandTarget

'ndaki Kaldırılacak komut filtresine yönelik işaretçi.

Döndürülenler

Int32

Yöntem başarılı olursa, döndürür S_OK . Başarısız olursa, bir hata kodu döndürür.

Uygulamalar

Şunlara uygulanır