Partager via


IVsTextLineMarker.GetBehavior, méthode

Retourne un comportement de marqueur de texte défini par la méthode d'SetBehavior.

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

Syntaxe

'Déclaration
Function GetBehavior ( _
    <OutAttribute> ByRef pdwBehavior As UInteger _
) As Integer
int GetBehavior(
    out uint pdwBehavior
)
int GetBehavior(
    [OutAttribute] unsigned int% pdwBehavior
)
abstract GetBehavior : 
        pdwBehavior:uint32 byref -> int
function GetBehavior(
    pdwBehavior : uint
) : int

Paramètres

  • pdwBehavior
    Type : UInt32%

    [out] pointeur à un valeur DWORD contenant le comportement pour le type de marqueur. Pour une liste de valeurs d'pdwBehavior, consultez l'MARKERBEHAVIORFLAGS.

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::GetBehavior(
   [out] DWORD *pdwBehavior
);

Sécurité .NET Framework

Voir aussi

Référence

IVsTextLineMarker Interface

Microsoft.VisualStudio.TextManager.Interop, espace de noms