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