IUIService.ShowToolWindow(Guid) 메서드

정의

지정된 도구 창을 표시합니다.

public:
 bool ShowToolWindow(Guid toolWindow);
public bool ShowToolWindow(Guid toolWindow);
abstract member ShowToolWindow : Guid -> bool
Public Function ShowToolWindow (toolWindow As Guid) As Boolean

매개 변수

toolWindow
Guid

Guid 도구 창의 식별자입니다. 사용자 지정 Guid 또는 미리 정의된 값 StandardToolWindows중 하나일 수 있습니다.

반품

도구 창이 성공적으로 표시되었으면 표시하거나 찾을 수 없는 경우

예제

다음 코드 예제에서는 인스턴스를 IUIService 가져오고 서비스의 ShowToolWindow 메서드를 호출하려고 시도합니다.

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

적용 대상

추가 정보