ProvideToolWindowVisibilityAttribute(Object, String) Constructeur
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.
Initialise une nouvelle instance de ProvideToolWindowVisibilityAttribute pour le type spécifié de la fenêtre Outil et un GUID à associer à sa visibilité.
public:
ProvideToolWindowVisibilityAttribute(System::Object ^ toolWindow, System::String ^ commandUIGuid);
public:
ProvideToolWindowVisibilityAttribute(Platform::Object ^ toolWindow, Platform::String ^ commandUIGuid);
ProvideToolWindowVisibilityAttribute(winrt::Windows::Foundation::IInspectable const & toolWindow, std::wstring const & commandUIGuid);
public ProvideToolWindowVisibilityAttribute (object toolWindow, string commandUIGuid);
new Microsoft.VisualStudio.Shell.ProvideToolWindowVisibilityAttribute : obj * string -> Microsoft.VisualStudio.Shell.ProvideToolWindowVisibilityAttribute
Public Sub New (toolWindow As Object, commandUIGuid As String)
Paramètres
- toolWindow
- Object
Types de la fenêtre Outil. Cela peut être le type, le GUID, ou la valeur de chaîne GUID.
- commandUIGuid
- String
GUID de la fenêtre Outil dans laquelle le comportement automatique de visibilité doit être appliqué.
Remarques
L’affichage et le masquage automatiques de la fenêtre outil s’effectuent en mappant le commandUIGuid à un ou plusieurs contextes d’interface utilisateur dans la SECTION VISIBILITY_SECTION – VISIBILITY_END du fichier. CTC associé.