Share via


ProjectItems Members

Include Protected Members
Include Inherited Members

Contains ProjectItem objects, each representing items in the project.

The ProjectItems type exposes the following members.

Methods

 

Name

Description

Public method

AddFolder

Creates a new folder in Solution Explorer.

Public method

AddFromDirectory

Adds one or more ProjectItem objects from a directory to the ProjectItems collection.

Public method

AddFromFile

Adds a project item from a file that is installed in a project directory structure.

Public method

AddFromFileCopy

Copies a source file and adds it to the project.

Public method

AddFromTemplate

Creates a new project item from an existing item template file and adds it to the project.

Public method

GetEnumerator

Overloaded.

Public method

Item

Returns a ProjectItem object in a ProjectItems collection.

Top

Properties

 

Name

Description

Public property

ContainingProject

Gets the project hosting the project item or items.

Public property

Count

Gets a value indicating the number of objects in the collection.

Public property

DTE

Gets the top-level extensibility object.

Public property

Kind

Gets an enumeration indicating the type of object.

Public property

Parent

Gets the immediate parent object of a ProjectItems collection.

Top

See Also

Reference

ProjectItems Interface

EnvDTE Namespace