Dela via


IWizard Interface

Defines the logic for a template wizard extension.

Namespace:  Microsoft.VisualStudio.TemplateWizard
Assembly:  Microsoft.VisualStudio.TemplateWizardInterface (in Microsoft.VisualStudio.TemplateWizardInterface.dll)

Syntax

'Declaration
Public Interface IWizard
public interface IWizard
public interface class IWizard
type IWizard =  interface end
public interface IWizard

The IWizard type exposes the following members.

Methods

  Name Description
Public method BeforeOpeningFile Runs custom wizard logic before opening an item in the template.
Public method ProjectFinishedGenerating Runs custom wizard logic when a project has finished generating.
Public method ProjectItemFinishedGenerating Runs custom wizard logic when a project item has finished generating.
Public method RunFinished Runs custom wizard logic when the wizard has completed all tasks.
Public method RunStarted Runs custom wizard logic at the beginning of a template wizard run.
Public method ShouldAddProjectItem Indicates whether the specified project item should be added to the project.

Top

Remarks

Template wizard extensions are run when vsprvs is instantiating a project or item from a template. For more information, see How to: Use Wizards with Project Templates.

See Also

Reference

Microsoft.VisualStudio.TemplateWizard Namespace