This documentation is archived and is not being maintained.

ProjectItems Members

Contains ProjectItem objects, each representing items in the project.

The following tables list the members exposed by the ProjectItems type.

  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. 

  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 Returns an enumeration for items in a collection.  
Public method Item Returns a ProjectItem object in a ProjectItems collection.