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

適用於

另請參閱