IWizard.RunStarted 方法

更新:2007 年 11 月

在模板向导运行的开头运行自定义向导逻辑。

命名空间:  Microsoft.VisualStudio.TemplateWizard
程序集:  Microsoft.VisualStudio.TemplateWizardInterface(在 Microsoft.VisualStudio.TemplateWizardInterface.dll 中)

语法

声明
Sub RunStarted ( _
    automationObject As Object, _
    replacementsDictionary As Dictionary(Of String, String), _
    runKind As WizardRunKind, _
    customParams As Object() _
)
用法
Dim instance As IWizard
Dim automationObject As Object
Dim replacementsDictionary As Dictionary(Of String, String)
Dim runKind As WizardRunKind
Dim customParams As Object()

instance.RunStarted(automationObject, _
    replacementsDictionary, runKind, _
    customParams)
void RunStarted(
    Object automationObject,
    Dictionary<string, string> replacementsDictionary,
    WizardRunKind runKind,
    Object[] customParams
)
void RunStarted(
    Object^ automationObject, 
    Dictionary<String^, String^>^ replacementsDictionary, 
    WizardRunKind runKind, 
    array<Object^>^ customParams
)
function RunStarted(
    automationObject : Object, 
    replacementsDictionary : Dictionary<String, String>, 
    runKind : WizardRunKind, 
    customParams : Object[]
)

参数

  • automationObject
    类型:System.Object

    模板向导正在使用的自动化对象。

  • customParams
    类型:array<System.Object[]

    在项目中用来执行参数替换的自定义参数。

权限

另请参见

参考

IWizard 接口

IWizard 成员

Microsoft.VisualStudio.TemplateWizard 命名空间