IWizard.ShouldAddProjectItem-Methode

Gibt an, ob das angegebene Projektelement dem Projekt hinzugefügt werden soll.

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

Parameter

Rückgabewert

Typ: System.Boolean
true , wenn das Projektelement dem Projekt hinzugefügt werden soll, andernfalls false.

.NET Framework-Sicherheit

Siehe auch

Referenz

IWizard Schnittstelle

Microsoft.VisualStudio.TemplateWizard-Namespace