C# Класс VsTeXProject.VisualStudio.Project.Automation.OAProjectItems

Наследование: OANavigableProjectItems
Показать файл Открыть проект

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

Метод Описание
AddFolder ( string name, string kind ) : ProjectItem

Adds a folder to the collection of ProjectItems with the given name. The kind must be null, empty string, or the string value of vsProjectItemKindPhysicalFolder. Virtual folders are not supported by this implementation.

AddFromFile ( string fileName ) : ProjectItem

Adds a project item from a file that is installed in a project directory structure.

AddFromFileCopy ( string filePath ) : ProjectItem

Copies a source file and adds it to the project.

AddFromTemplate ( string fileName, string name ) : ProjectItem

Creates a new project item from an existing item template file and adds it to the project.

OAProjectItems ( OAProject project, HierarchyNode nodeWithItems ) : System

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

Метод Описание
AddItem ( string path, VSADDITEMOPERATION op ) : ProjectItem

Adds an item to the project.

Приватные методы

Метод Описание
EvaluateAddResult ( VSADDRESULT result, string path ) : ProjectItem
GetTemplateNoZip ( string fileName ) : string

Removes .zip extensions from the components of a path.

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

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

Adds a folder to the collection of ProjectItems with the given name. The kind must be null, empty string, or the string value of vsProjectItemKindPhysicalFolder. Virtual folders are not supported by this implementation.
public AddFolder ( string name, string kind ) : ProjectItem
name string The name of the new folder to add
kind string A string representing a Guid of the folder kind.
Результат ProjectItem

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

Adds a project item from a file that is installed in a project directory structure.
public AddFromFile ( string fileName ) : ProjectItem
fileName string The file name of the item to add as a project item.
Результат ProjectItem

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

Copies a source file and adds it to the project.
public AddFromFileCopy ( string filePath ) : ProjectItem
filePath string The path and file name of the project item to be added.
Результат ProjectItem

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

Creates a new project item from an existing item template file and adds it to the project.
public AddFromTemplate ( string fileName, string name ) : ProjectItem
fileName string The full path and file name of the template project file.
name string The file name to use for the new project item.
Результат ProjectItem

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

Adds an item to the project.
protected AddItem ( string path, VSADDITEMOPERATION op ) : ProjectItem
path string The full path of the item to add.
op VSADDITEMOPERATION The to use when adding the item.
Результат ProjectItem

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

public OAProjectItems ( OAProject project, HierarchyNode nodeWithItems ) : System
project OAProject
nodeWithItems HierarchyNode
Результат System