OANestedProjectItem Members

Represents a nested project in the solution.

The OANestedProjectItem type exposes the following members.

Constructors

  Name Description
Public method OANestedProjectItem Initializes a new instance of OANestedProjectItem for the specified project and node.

Top

Methods

  Name Description
Public method Delete Removes the item from the project and deletes it from storage. (Inherited from OAProjectItem<T>.)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method ExpandView Expands the Solution Explorer to show the item. (Inherited from OAProjectItem<T>.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method get_Extender Gets the requested extender if it is available for this item. (Inherited from OAProjectItem<T>.)
Public method get_FileNames Gets the full path and names of the files associated with an item. (Inherited from OAProjectItem<T>.)
Public method get_IsOpen Gets a value indicating whether the project item is open in a particular type of view. (Inherited from OAProjectItem<T>.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Open Opens the project item in the specified view. (Inherited from OAProjectItem<T>.)
Public method Remove Removes the project item from hierarchy, but does not delete it from disk. (Inherited from OAProjectItem<T>.)
Public method Save Saves the project item with the supplied name. (Inherited from OAProjectItem<T>.)
Public method SaveAs Saves the project item with the supplied name. If the file exists, it is overwritten. (Inherited from OAProjectItem<T>.)
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Properties

  Name Description
Public property Collection Gets the collection of project items to which this item belongs. (Inherited from OAProjectItem<T>.)
Public property ConfigurationManager Not implemented. Configuration on project items is not supported. (Inherited from OAProjectItem<T>.)
Public property ContainingProject Gets the automation object representing the project. (Inherited from OAProjectItem<T>.)
Public property Document Gets the document associated with the item, if one exists. (Inherited from OAProjectItem<T>.)
Public property DTE Gets the top-level extensibility object. (Inherited from OAProjectItem<T>.)
Public property ExtenderCATID Gets the extender category ID (CATID) for the object. (Inherited from OAProjectItem<T>.)
Public property ExtenderNames Gets a list of available extenders for the item. (Inherited from OAProjectItem<T>.)
Public property FileCodeModel Gets the file code model for the item, if one exists. (Inherited from OAProjectItem<T>.)
Public property FileCount Gets the number of files associated with this item. (Inherited from OAProjectItem<T>.)
Public property IsDirty Microsoft Internal Use Only. Checks if the document associated to this item is dirty. (Inherited from OAProjectItem<T>.)
Public property Kind Gets a GUID string indicating the type of the object. (Inherited from OAProjectItem<T>.)
Public property Name Gets or sets the name of the item. (Inherited from OAProjectItem<T>.)
Protected property Node Gets the HierarchyNode or derived class corresponding to this item. (Inherited from OAProjectItem<T>.)
Public property Object Gets an object that can be accessed by name at runtime. (Inherited from OAProjectItem<T>.)
Protected property Project Gets the automation object for the project. (Inherited from OAProjectItem<T>.)
Public property ProjectItems Gets the collection of project items in the nested project. (Overrides OAProjectItem<NestedProjectNode>.ProjectItems.)
Public property Properties Gets a collection of all properties that pertain to the item. (Inherited from OAProjectItem<T>.)
Public property Saved Gets or sets a value indicating whether or not the object has been modified since last being saved or opened. (Inherited from OAProjectItem<T>.)
Public property SubProject Gets the nested project. (Overrides OAProjectItem<NestedProjectNode>.SubProject.)

Top

See Also

Reference

OANestedProjectItem Class

Microsoft.VisualStudio.Package.Automation Namespace