Freigeben über


StandardToolWindows.TaskList Feld

Definition

Ruft die GUID für die Aufgabenliste ab. Dieses Feld ist schreibgeschützt.

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

Feldwert

Beispiele

Im folgenden Codebeispiel wird veranschaulicht, wie sie StandardToolWindows verwenden, um ein Standardtoolfenster anzuzeigen. Dieses Codebeispiel ist Teil eines größeren Beispiels für die IUIService -Schnittstelle.

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

Gilt für:

Weitere Informationen