Share via


StandardToolWindows.TaskList Champ

Définition

Obtient le GUID pour la liste des tâches. Ce champ est en lecture seule.

public: static initonly Guid TaskList;
public static readonly Guid TaskList;
 staticval mutable TaskList : Guid
Public Shared ReadOnly TaskList As Guid 

Valeur de champ

Exemples

L’exemple de code suivant montre comment utiliser StandardToolWindows pour afficher une fenêtre outil standard. Cet exemple de code fait partie d’un exemple plus grand fourni pour l’interface IUIService .

IUIService^ UIservice = dynamic_cast<IUIService^>(this->GetService( System::Windows::Forms::Design::IUIService::typeid ));
if ( UIservice != nullptr )
      UIservice->ShowToolWindow( StandardToolWindows::TaskList );
IUIService UIservice = (IUIService)this.GetService( 
    typeof( System.Windows.Forms.Design.IUIService ) );
if( UIservice != null )            
    UIservice.ShowToolWindow(StandardToolWindows.TaskList);
Dim UIservice As IUIService = CType(Me.GetService( _
    GetType(System.Windows.Forms.Design.IUIService)), IUIService)
If (UIservice IsNot Nothing) Then
    UIservice.ShowToolWindow(StandardToolWindows.TaskList)
End If

S’applique à

Voir aussi