C# Класс Microsoft.VisualStudio.Project.Automation.OAProject

Наследование: EnvDTE.Project, ISupportVSProperties
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
DoSave ( bool isCalledFromSaveAs, string fileName ) : void

Saves or Save Asthe project.

Описание методов

Delete() публичный Метод

Removes the project from the current solution.
public Delete ( ) : void
Результат void

DoSave() защищенный Метод

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.
Результат void

NotifyPropertiesDelete() публичный Метод

Microsoft Internal Use Only.
public NotifyPropertiesDelete ( ) : void
Результат void

OAProject() публичный Метод

public OAProject ( ProjectNode project ) : System
project ProjectNode
Результат System

Save() публичный Метод

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
Результат void

SaveAs() публичный Метод

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
Результат void

get_Extender() публичный Метод

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.
Результат object