IVsTextMarker.SetBehavior(UInt32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
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
);