Partager via


Project.GetProjectItemExists Method (String)

 

Determines if the ProjectItem exists in the Project.

Namespace:   Microsoft.VisualStudio.Tools.Applications
Assembly:  Microsoft.VisualStudio.Tools.Applications (in Microsoft.VisualStudio.Tools.Applications.dll)

Syntax

public bool GetProjectItemExists(
    string itemName
)
public:
bool GetProjectItemExists(
    String^ itemName
)
member GetProjectItemExists : 
        itemName:string -> bool
Public Function GetProjectItemExists (
    itemName As String
) As Boolean

Parameters

Return Value

Type: System.Boolean

true if the ProjectItem exists; otherwise false.

See Also

Project Class
Microsoft.VisualStudio.Tools.Applications Namespace

Return to top