Partager via


IVsTextLineMarker.UnadviseClient, méthode

Unadvises le client, le cas échéant.

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

Syntaxe

'Déclaration
Function UnadviseClient As Integer
int UnadviseClient()
int UnadviseClient()
abstract UnadviseClient : unit -> int
function UnadviseClient() : int

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 IVsTextLineMarker::UnadviseClient();

Lorsque vous créez une marque à l'aide de la méthode d'CreateLineMarker, vous passez dans un pointeur à votre implémentation d'IVsTextMarkerClient, qui permet pour recevoir la notification d'événements associée à ce type de marqueur. Utilisation UnadviseClient de désactiver la notification d'événements.

Sécurité .NET Framework

Voir aussi

Référence

IVsTextLineMarker Interface

Microsoft.VisualStudio.TextManager.Interop, espace de noms