Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Include Protected Members
Include Inherited Members
Represents an item in the project (file, folder, or reference).
The OAProjectItem type exposes the following members.
Methods
Name
Description
Removes the item from its project and its storage.
Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Expands the view of Solution Explorer to show project items.
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Gets the requested Extender, if it is available for this object.
Gets the full path and names of the files associated with a project item.
Returns whether the project item is open in a particular view type.
Serves as a hash function for a particular type. (Inherited from Object.)
Gets the type of the current instance. (Inherited from Object.)
Creates a shallow copy of the current Object. (Inherited from Object.)
Opens the project item in the specified view.
Removes the project item from the hierarchy.
Saves the project item.
Saves the project item.
Returns a string that represents the current object. (Inherited from Object.)
Top
Properties
Name
Description
Gets the ProjectItems collection containing the ProjectItem object supporting this property.
Gets the ConfigurationManager object for this ProjectItem.
Gets the project hosting the ProjectItem.
Gets the document associated with the item, if one exists.
Gets the top-level extensibility object.
Gets the Extender category ID (CATID) for the object.
Gets a list of available Extenders for the object.
Gets the FileCodeModel object for the project item.
Gets the number of files associated with a ProjectItem.
Microsoft Internal Use Only. Returns whether the document associated with this item is dirty.
Gets a GUID string indicating the kind or type of the object.
Gets or sets the name of the object.
Gets an object that can be accessed by name at run time.
Returns the Automation project.
Gets a ProjectItems for the object.
Gets a collection of all properties that pertain to the object.
Gets or sets whether the object has been modified since last being saved or opened.
If the project item is the root of a subproject, then the SubProject property returns the Project object for the subproject.
Top
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Project.Automation Namespace