C# Class Microsoft.VisualStudio.Project.Automation.OAProject

Inheritance: EnvDTE.Project, ISupportVSProperties
Mostra file Open project: tunnelvisionlabs/MPFProj10 Class Usage Examples

Public Methods

Method Description
Delete ( ) : void

Removes the project from the current solution.

NotifyPropertiesDelete ( ) : void

Microsoft Internal Use Only.

OAProject ( ProjectNode project ) : System
Save ( string fileName ) : void

Saves the project

SaveAs ( string fileName ) : void

Saves the project.

get_Extender ( string name ) : object

Gets the requested Extender object if it is available for this object.

Protected Methods

Method Description
DoSave ( bool isCalledFromSaveAs, string fileName ) : void

Saves or Save Asthe project.

Method Details

Delete() public method

Removes the project from the current solution.
public Delete ( ) : void
return void

DoSave() protected method

Saves or Save Asthe project.
protected DoSave ( bool isCalledFromSaveAs, string fileName ) : void
isCalledFromSaveAs bool Flag determining which Save method called , the SaveAs or the Save.
fileName string The name of the project file.
return void

NotifyPropertiesDelete() public method

Microsoft Internal Use Only.
public NotifyPropertiesDelete ( ) : void
return void

OAProject() public method

public OAProject ( ProjectNode project ) : System
project ProjectNode
return System

Save() public method

Saves the project
Is thrown if the save operation failes. Is thrown if fileName is null.
public Save ( string fileName ) : void
fileName string The file name of the project
return void

SaveAs() public method

Saves the project.
Is thrown if the save operation failes. Is thrown if fileName is null.
public SaveAs ( string fileName ) : void
fileName string The file name with which to save the solution, project, or project item. If the file exists, it is overwritten
return void

get_Extender() public method

Gets the requested Extender object if it is available for this object.
public get_Extender ( string name ) : object
name string The name of the extender object.
return object