IVsTextView.RemoveCommandFilter, méthode

Supprime un filtre de commande des filtres de hiérarchie de commandes.

Espace de noms :  Microsoft.VisualStudio.TextManager.Interop
Assembly :  Microsoft.VisualStudio.TextManager.Interop (dans Microsoft.VisualStudio.TextManager.Interop.dll)

Syntaxe

'Déclaration
Function RemoveCommandFilter ( _
    pCmdTarg As IOleCommandTarget _
) As Integer
int RemoveCommandFilter(
    IOleCommandTarget pCmdTarg
)
int RemoveCommandFilter(
    [InAttribute] IOleCommandTarget^ pCmdTarg
)
abstract RemoveCommandFilter : 
        pCmdTarg:IOleCommandTarget -> int
function RemoveCommandFilter(
    pCmdTarg : IOleCommandTarget
) : int

Paramètres

  • pCmdTarg
    Type : IOleCommandTarget

    [in] pointeur à un filtre de commande à supprimer.

Valeur de retour

Type : Int32
Si la méthode réussit, elle retourne S_OK.En cas d'échec, un code d'erreur est retourné.

Notes

Signature de COM

De textmgr.idl :

HRESULT IVsTextView::RemoveCommandFilter(
   [in] IOleCommandTarget *pCmdTarg
);

Sécurité .NET Framework

Voir aussi

Référence

IVsTextView Interface

Microsoft.VisualStudio.TextManager.Interop, espace de noms