Поделиться через


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

Идентификатор элемента проекта (обычно корневого каталога проекта или папки), в который следует добавить элементы, созданные этим мастером. Допустимо только в том случае, если project != null.

Применяется к