Share via


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.

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 try to free resources and perform other cleanup operations before it 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 ConfigurationManager object for this project.

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

Microsoft Internal Use Only. Gets the file name of the project.

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

Microsoft Internal Use Only. Specifies whether the project is dirty.

Public property

Kind

Gets the GUID for the type of object.

Public property

Name

Gets or sets the name of the object.

Public property

Object

Gets an interface or object that can be accessed by name at run time.

Public property

ParentProjectItem

When implemented in a derived class, gets the project item for the nested project.

Public property

ProjectItems

Gets the collection of project items for this project.

Public property

Properties

Gets a collection of all properties that pertain to the Project object.

Public property

Saved

Gets or sets a value indicating whether the object has not been modified since last being 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.Data.Schema.Project.Automation Namespace