Partager via


IVsTextLineMarker.SetBehavior, méthode

Définit le comportement d'un marqueur de texte.

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

Syntaxe

'Déclaration
Function SetBehavior ( _
    dwBehavior As UInteger _
) As Integer
int SetBehavior(
    uint dwBehavior
)
int SetBehavior(
    [InAttribute] unsigned int dwBehavior
)
abstract SetBehavior : 
        dwBehavior:uint32 -> int
function SetBehavior(
    dwBehavior : uint
) : int

Paramètres

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::SetBehavior(
   [in] DWORD dwBehavior
);

Sécurité .NET Framework

Voir aussi

Référence

IVsTextLineMarker Interface

Microsoft.VisualStudio.TextManager.Interop, espace de noms