共用方式為


IWizard.RunStarted 方法

在範本精靈開始執行時執行自訂精靈邏輯。

命名空間:  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
    由範本精靈所使用的 Automation 物件。
  • customParams
    型別:array<System.Object[]
    用來執行專案中參數取代的自訂參數。

.NET Framework 安全性

請參閱

參考

IWizard 介面

Microsoft.VisualStudio.TemplateWizard 命名空間