IWizard2.RunStarted 方法

定义

在模板文件开始处理时调用。

public:
 void RunStarted(System::Object ^ automationObject, System::Collections::Generic::Dictionary<System::String ^, System::String ^> ^ replacementsDictionary, Microsoft::VisualStudio::TemplateWizard::WizardRunKind runKind, cli::array <System::Object ^> ^ customParams, Microsoft::VisualStudio::Shell::Interop::IVsProject ^ project, System::UInt32 parentItemId);
public void RunStarted (object automationObject, System.Collections.Generic.Dictionary<string,string> replacementsDictionary, Microsoft.VisualStudio.TemplateWizard.WizardRunKind runKind, object[] customParams, Microsoft.VisualStudio.Shell.Interop.IVsProject project, uint parentItemId);
abstract member RunStarted : obj * System.Collections.Generic.Dictionary<string, string> * Microsoft.VisualStudio.TemplateWizard.WizardRunKind * obj[] * Microsoft.VisualStudio.Shell.Interop.IVsProject * uint32 -> unit
Public Sub RunStarted (automationObject As Object, replacementsDictionary As Dictionary(Of String, String), runKind As WizardRunKind, customParams As Object(), project As IVsProject, parentItemId As UInteger)

参数

automationObject
Object

主机进程的自动化对象。

replacementsDictionary
Dictionary<String,String>

替换项及其将替换为的值的列表。

runKind
WizardRunKind

描述如何处理模板文件。

customParams
Object[]
project
IVsProject

应添加此向导创建的项 () 的项目。 可能为 null。

parentItemId
UInt32

项目项的 ID 通常 (项目根或文件夹) 应添加此向导创建的项 () 。 仅当 != null 时 project 有效。

适用于