Share via


StandardToolWindows.TaskList 字段

定义

获取任务列表的 GUID。 此字段为只读。

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

字段值

示例

下面的代码示例演示如何使用 StandardToolWindows 显示标准工具窗口。 此代码示例是为 接口提供的更大示例的 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

适用于

另请参阅