Udostępnij przez


StandardToolWindows.TaskList Pole

Definicja

Pobiera identyfikator GUID listy zadań. To pole jest tylko do odczytu.

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

Wartość pola

Przykłady

W poniższym przykładzie kodu pokazano, jak używać StandardToolWindows polecenia do wyświetlania standardowego okna narzędzi. Ten przykład kodu jest częścią większego przykładu udostępnionego dla interfejsu 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

Dotyczy

Zobacz też