在模板向导运行的开头运行自定义向导逻辑。
命名空间:  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
 模板向导正在使用的自动化对象。
- replacementsDictionary
 类型:System.Collections.Generic.Dictionary<String, String>
 要替换的标准参数的列表。
- runKind
 类型:Microsoft.VisualStudio.TemplateWizard.WizardRunKind
 WizardRunKind 指示向导运行的类型。
- customParams
 类型:array<System.Object[]
 在项目中用来执行参数替换的自定义参数。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。