Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- filePath
Type: System.String
The path to the project item.
Return Value
Type: System.Boolean
true if the project item should be added to the project; otherwise, false.
.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.