共用方式為


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

專案專案的標識碼通常 (專案根目錄或資料夾) ,在此精靈所建立的專案 () 。 只有在 != null 時才有效 project

適用於