Share via


IDTWizard.Execute 메서드

항목 추가 또는 새 프로젝트 대화 상자에서 마법사를 시작하는 경우 발생합니다.

네임스페이스:  EnvDTE
어셈블리:  EnvDTE(EnvDTE.dll)

구문

‘선언
Sub Execute ( _
    Application As Object, _
    hwndOwner As Integer, _
    ByRef ContextParams As Object(), _
    ByRef CustomParams As Object(), _
    <OutAttribute> ByRef retval As wizardResult _
)
void Execute(
    Object Application,
    int hwndOwner,
    ref Object[] ContextParams,
    ref Object[] CustomParams,
    out wizardResult retval
)
void Execute(
    [InAttribute] Object^ Application, 
    [InAttribute] int hwndOwner, 
    [InAttribute] array<Object^>^% ContextParams, 
    [InAttribute] array<Object^>^% CustomParams, 
    [InAttribute] [OutAttribute] wizardResult% retval
)
abstract Execute : 
        Application:Object * 
        hwndOwner:int * 
        ContextParams:Object[] byref * 
        CustomParams:Object[] byref * 
        retval:wizardResult byref -> unit
function Execute(
    Application : Object, 
    hwndOwner : int, 
    ContextParams : Object[], 
    CustomParams : Object[], 
    retval : wizardResult
)

매개 변수

  • Application
    형식: Object

    Visual Studio 환경의 최상위 수준 자동화 개체에 대한 디스패치 포인터입니다.

  • hwndOwner
    형식: Int32

    이 마법사 창의 부모에 대한 hWnd 핸들입니다.

  • ContextParams
    형식: array<Object[]%

    마법사가 항목 추가 대화 상자에서 시작되었는지 새 프로젝트 대화 상자에서 시작되었는지에 따라 변하는 요소 배열입니다. 사용 가능한 값을 보려면 ContextParams를 참조하십시오.

  • CustomParams
    형식: array<Object[]%

    마법사의 .vsz 파일에 있는 param= 문에 의해 결정되는 사용자 정의 매개 변수 배열입니다. 이 배열로 전달된 매개 변수를 사용하여 마법사의 동작과 역할을 사용자 지정할 수 있습니다.

설명

Execute 메서드에서 마법사가 실행할 코드를 삽입합니다.

.NET Framework 보안

참고 항목

참조

IDTWizard 인터페이스

EnvDTE 네임스페이스