IWizard.RunStarted 方法

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

命名空间:  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() _
)
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
)
abstract RunStarted : 
        automationObject:Object * 
        replacementsDictionary:Dictionary<string, string> * 
        runKind:WizardRunKind * 
        customParams:Object[] -> unit 
function RunStarted(
    automationObject : Object, 
    replacementsDictionary : Dictionary<String, String>, 
    runKind : WizardRunKind, 
    customParams : Object[]
)

参数

  • automationObject
    类型:System.Object
    模板向导正在使用的自动化对象。
  • customParams
    类型:array<System.Object[]
    在项目中用来执行参数替换的自定义参数。

.NET Framework 安全性

请参见

参考

IWizard 接口

Microsoft.VisualStudio.TemplateWizard 命名空间