Share via


IWizard.ShouldAddProjectItem Method

Indicates whether the specified project item should be added to the project.

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

Syntax

'Declaration
Function ShouldAddProjectItem ( _
    filePath As String _
) As Boolean
bool ShouldAddProjectItem(
    string filePath
)
bool ShouldAddProjectItem(
    String^ filePath
)
abstract ShouldAddProjectItem : 
        filePath:string -> bool 
function ShouldAddProjectItem(
    filePath : String
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the project item should be added to the project; otherwise, false.

.NET Framework Security

See Also

Reference

IWizard Interface

Microsoft.VisualStudio.TemplateWizard Namespace