IVsSimplePreviewChangesList.ToggleState(UInt32, UInt32) Méthode

Définition

Active/désactive l'état activé de l'élément spécifié dans la liste d'aperçu.

public:
 int ToggleState(System::UInt32 index, [Runtime::InteropServices::Out] System::UInt32 % ptscr);
int ToggleState(unsigned int index, [Runtime::InteropServices::Out] unsigned int & ptscr);
public int ToggleState (uint index, out uint ptscr);
abstract member ToggleState : uint32 * uint32 -> int
Public Function ToggleState (index As UInteger, ByRef ptscr As UInteger) As Integer

Paramètres

index
UInt32

[in] Index de l'élément pour lequel modifier l'état activé.

ptscr
UInt32

[out] Retourne une valeur de l'énumération _VSTREESTATECHANGEREFRESH indiquant si les enfants de cet élément doivent également être actualisés dans l'affichage.

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 vsshell80. idl :

HRESULT IVsSimplePreviewChangesList::ToggleState(  
   [in] ULONG                      Index,   
   [out] VSTREESTATECHANGEREFRESH *ptscr  
);  

S’applique à