IWizard.BeforeOpeningFile Method
Runs custom wizard logic before opening an item in the template.
Namespace: Microsoft.VisualStudio.TemplateWizard
Assembly: Microsoft.VisualStudio.TemplateWizardInterface (in Microsoft.VisualStudio.TemplateWizardInterface.dll)
Syntax
'Declaration
Sub BeforeOpeningFile ( _
projectItem As ProjectItem _
)
void BeforeOpeningFile(
ProjectItem projectItem
)
void BeforeOpeningFile(
ProjectItem^ projectItem
)
abstract BeforeOpeningFile :
projectItem:ProjectItem -> unit
function BeforeOpeningFile(
projectItem : ProjectItem
)
Parameters
projectItem
Type: EnvDTE.ProjectItemThe project item that will be opened.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.