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

Inheritance: EnvDTE.Project, ISupportVSProperties
Afficher le fichier Open project: tunnelvisionlabs/MPFProj10 Class Usage Examples

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
DoSave ( bool isCalledFromSaveAs, string fileName ) : void

Saves or Save Asthe project.

Method Details

Delete() public méthode

Removes the project from the current solution.
public Delete ( ) : void
Résultat void

DoSave() protected méthode

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.
Résultat void

NotifyPropertiesDelete() public méthode

Microsoft Internal Use Only.
public NotifyPropertiesDelete ( ) : void
Résultat void

OAProject() public méthode

public OAProject ( ProjectNode project ) : System
project ProjectNode
Résultat System

Save() public méthode

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
Résultat void

SaveAs() public méthode

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
Résultat void

get_Extender() public méthode

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.
Résultat object