Поделиться через


VsWizardClass.Execute - метод

Called when a wizard is launched from either the Add New Item Dialog Box or New Project Dialog Box dialog boxes.

Пространство имен:  Microsoft.VisualStudio.VsWizard
Сборка:  Microsoft.VisualStudio.VsWizard (в Microsoft.VisualStudio.VsWizard.dll)

Синтаксис

'Декларация
Public Overridable Sub Execute ( _
    Application As Object, _
    hwndOwner As Integer, _
    ByRef ContextParams As Object(), _
    ByRef CustomParams As Object(), _
    <OutAttribute> ByRef retval As wizardResult _
)
'Применение
Dim instance As VsWizardClass
Dim Application As Object
Dim hwndOwner As Integer
Dim ContextParams As Object()
Dim CustomParams As Object()
Dim retval As wizardResult

instance.Execute(Application, hwndOwner, _
    ContextParams, CustomParams, retval)
public virtual void Execute(
    Object Application,
    int hwndOwner,
    ref Object[] ContextParams,
    ref Object[] CustomParams,
    out wizardResult retval
)
public:
virtual void Execute(
    [InAttribute] Object^ Application, 
    [InAttribute] int hwndOwner, 
    [InAttribute] array<Object^>^% ContextParams, 
    [InAttribute] array<Object^>^% CustomParams, 
    [InAttribute] [OutAttribute] wizardResult% retval
)
public function Execute(
    Application : Object, 
    hwndOwner : int, 
    ContextParams : Object[], 
    CustomParams : Object[], 
    retval : wizardResult
)

Параметры

  • Application
    Тип: System.Object

    Required. A dispatch pointer to the highest-level automation object for the Visual Studio environment.

  • hwndOwner
    Тип: System.Int32

    Required. The hWnd handle for the parent of the wizard's window.

Реализации

IDTWizard.Execute(Object, Int32, []%, []%, wizardResult%)

Заметки

Execute is implemented by a wizard writer to display the appropriate wizard. It is called when a wizard is launched from either the Add New Item or the New Project dialog boxes.

Разрешения

  • Полное доверие для непосредственно вызывающего метода. Этот член не может быть использован частично доверенным кодом. Дополнительные сведения см. в разделе Using Libraries from Partially Trusted Code.

См. также

Основные понятия

Designing a Wizard

Visual C++ Extensibility Object Model

Ссылки

VsWizardClass Класс

VsWizardClass - члены

Microsoft.VisualStudio.VsWizard - пространство имен