OAProject Members

Include Protected Members
Include Inherited Members

Represents the automation-friendly version of a Visual Studio project.

The OAProject type exposes the following members.

Constructors

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

Top

Methods

  Name Description
Public method Delete Removes the project from the current solution.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
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 When overridden in a derived class, gets the automation extender object.
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 NotifyPropertiesDelete Microsoft Internal Use Only.
Public method Save Saves the project.
Public method SaveAs Saves the project item to a given file name.
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Properties

  Name Description
Public property CodeModel When implemented in a derived class, gets the CodeModel object for the project.
Public property Collection When implemented in a derived class, gets the Projects collection containing the Project object supporting this property.
Public property ConfigurationManager Gets the project's ConfigurationManager.
Public property DTE Gets the top-level extensibility object.
Public property ExtenderCATID When implemented in a derived class, gets the extender category ID (CATID) for the object.
Public property ExtenderNames When implemented in a derived class, gets a list of available extenders for the object.
Public property FileName Gets the project file name. Microsoft Internal Use Only.
Public property FullName Returns the full path and name of the project file.
Public property Globals When implemented in a derived class, gets the globals object, which contains add-in values that may be saved in the solution file, the project file, or the user's profile data.
Public property IsDirty Gets or sets whether the project is dirty. Microsoft Internal Use Only.
Public property Kind Gets the GUID for the type of object.
Public property Name Gets or sets the name of the project.
Public property Object Gets an interface or object that can be accessed by name at runtime.
Public property ParentProjectItem When implemented in a derived class, gets the project item for the nested project.
Public property Project Gets the associated project.
Public property ProjectItems Gets the collection of project items for this project.
Public property Properties Gets a collection of all the properties that pertain the project.
Public property Saved Gets or sets whether the project has been modified since it was last saved or opened.
Public property UniqueName Gets the name of the project as a relative path from the solution directory to the project file.

Top

See Also

Reference

OAProject Class

Microsoft.VisualStudio.Package.Automation Namespace