StandardToolWindows.TaskList-Feld
Ruft die GUID für die Aufgabenliste ab. Dieses Feld ist schreibgeschützt.
Namespace: System.ComponentModel.Design
Assembly: System (in system.dll)
Syntax
'Declaration
Public Shared ReadOnly TaskList As Guid
'Usage
Dim value As Guid
value = StandardToolWindows.TaskList
public static readonly Guid TaskList
public:
static initonly Guid TaskList
public static final Guid TaskList
public static final var TaskList : Guid
Beispiel
Im folgenden Codebeispiel wird veranschaulicht, wie StandardToolWindows verwendet wird, um ein Standardtoolfenster anzuzeigen. Dieses Codebeispiel ist Teil eines umfangreicheren Beispiels für die IUIService-Schnittstelle.
Dim UIservice As IUIService = CType(Me.GetService( _
GetType(System.Windows.Forms.Design.IUIService)), IUIService)
If Not (UIservice Is Nothing) Then
UIservice.ShowToolWindow(StandardToolWindows.TaskList)
End If
IUIService UIservice = (IUIService)this.GetService(
typeof( System.Windows.Forms.Design.IUIService ) );
if( UIservice != null )
UIservice.ShowToolWindow(StandardToolWindows.TaskList);
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(System.Windows.
Forms.Design.IUIService.class.ToType());
if (uiService != null) {
uiService.ShowToolWindow(StandardToolWindows.TaskList);
}
Plattformen
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.
Versionsinformationen
.NET Framework
Unterstützt in: 2.0, 1.1, 1.0
Siehe auch
Referenz
StandardToolWindows-Klasse
StandardToolWindows-Member
System.ComponentModel.Design-Namespace
IUIService