ModelObjectItemWizard.ShouldAddProjectItem Method
[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]
Indicates whether the specified project item should be added to the project
Namespace: Microsoft.Data.Entity.Design.VisualStudio.ModelWizard
Assembly: Microsoft.Data.Entity.Design (in Microsoft.Data.Entity.Design.dll)
Syntax
'Declaration
Public Function ShouldAddProjectItem ( _
filePath As String _
) As Boolean
'Usage
Dim instance As ModelObjectItemWizard
Dim filePath As String
Dim returnValue As Boolean
returnValue = instance.ShouldAddProjectItem(filePath)
public bool ShouldAddProjectItem(
string filePath
)
public:
virtual bool ShouldAddProjectItem(
String^ filePath
) sealed
abstract ShouldAddProjectItem :
filePath:string -> bool
override ShouldAddProjectItem :
filePath:string -> bool
public final function ShouldAddProjectItem(
filePath : String
) : boolean
Parameters
- filePath
Type: System.String
The path of the project item.
Return Value
Type: System.Boolean
true if the item should be added; otherwise, false.
Implements
IWizardShouldAddProjectItem(String)
See Also
Reference
Microsoft.Data.Entity.Design.VisualStudio.ModelWizard Namespace