IVsTextMarker.SetBehavior(UInt32) Méthode

Définition

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

public:
 int SetBehavior(System::UInt32 dwBehavior);
public:
 int SetBehavior(unsigned int dwBehavior);
int SetBehavior(unsigned int dwBehavior);
public int SetBehavior (uint dwBehavior);
abstract member SetBehavior : uint32 -> int
Public Function SetBehavior (dwBehavior As UInteger) As Integer

Paramètres

dwBehavior
UInt32

[in] Pointeur vers une valeur DWORD contenant le comportement du type de marqueur. Pour obtenir la liste des valeurs pdwBehavior, consultez MARKERBEHAVIORFLAGS.

Retours

Int32

Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.

Remarques

Signature COM

À partir de textmgr. idl :

HRESULT IVsTextMarker::SetBehavior(  
   [in] DWORD dwBehavior  
);  

S’applique à