Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ProjectItem Members

Represents an item in a project.

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

  Name Description
Public property Collection Gets the ProjectItems collection containing the ProjectItem object supporting this property. 
Public property ConfigurationManager Gets the ConfigurationManager object for this ProjectItem
Public property ContainingProject Gets the project hosting the ProjectItem
Public property Document Gets the Document associated with the item, if one exists. 
Public property DTE Gets the top-level extensibility object. 
Public property Extender Gets the requested Extender if it is available for this object. 
Public property ExtenderCATID Gets the Extender category ID (CATID) for the object. 
Public property ExtenderNames Gets a list of available Extenders for the object. 
Public property FileCodeModel Gets the FileCodeModel object for the project item. 
Public property FileCount Gets the number of files associated with a ProjectItem
Public property FileNames Gets the full path and names of the files associated with a project item. 
Public property IsDirty Microsoft Internal Use Only. 
Public property IsOpen Gets a value indicating whether the project item is open in a particular view type. 
Public property Kind Gets a GUID string indicating the kind or type of the object. 
Public property Name Gets or sets the name of the object. 
Public property Object Gets an object that can be accessed by name at run time. 
Public property ProjectItems Gets a ProjectItems for the object. 
Public property Properties Gets a collection of all properties that pertain to the object. 
Public property Saved Gets or sets a value indicating whether or not the object has been modified since last being saved or opened. 
Public property SubProject If the project item is the root of a subproject, then the SubProject property returns the Project object for the subproject. 
Top
  Name Description
Public method Delete Removes the item from its project and its storage.  
Public method ExpandView Expands the view of Solution Explorer to show project items.  
Public method Open Opens the ProjectItem in the specified view.  
Public method Remove Removes the project item from the collection.  
Public method Save Saves the project or project item.  
Public method SaveAs Saves the project item.  
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.