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

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

Private Properties

Свойство Тип Описание
Item ProjectItem

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

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

Creates a new folder in Solution Explorer.

AddFromDirectory ( string directory ) : ProjectItem

Adds one or more ProjectItem objects from a directory to the ProjectItems collection.

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.

GetEnumerator ( ) : IEnumerator

Returns an enumeration for items in a collection.

OANavigableProjectItems ( OAProject project, HierarchyNode nodeWithItems ) : System

Constructor.

OANavigableProjectItems ( OAProject project, IList items, HierarchyNode nodeWithItems ) : System

Constructor.

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

Метод Описание
GetListOfProjectItems ( ) : IList

Retrives a list of items associated with the current node.

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

Метод Описание
Item ( object index ) : ProjectItem

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

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

Creates a new folder in Solution Explorer.
public AddFolder ( string name, string kind ) : ProjectItem
name string The name of the folder node in Solution Explorer.
kind string /// The type of folder to add. The available values are based on vsProjectItemsKindConstants and /// vsProjectItemKindConstants ///
Результат ProjectItem

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

Adds one or more ProjectItem objects from a directory to the ProjectItems collection.
public AddFromDirectory ( string directory ) : ProjectItem
directory string The directory from which to add the project item.
Результат 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

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

Returns an enumeration for items in a collection.
public GetEnumerator ( ) : IEnumerator
Результат IEnumerator

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

Retrives a list of items associated with the current node.
protected GetListOfProjectItems ( ) : IList
Результат IList

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

Constructor.
public OANavigableProjectItems ( OAProject project, HierarchyNode nodeWithItems ) : System
project OAProject The associated project.
nodeWithItems HierarchyNode The node that defines the items.
Результат System

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

Constructor.
public OANavigableProjectItems ( OAProject project, IList items, HierarchyNode nodeWithItems ) : System
project OAProject The associated project.
items IList A list of items that will make up the items defined by this object.
nodeWithItems HierarchyNode The node that defines the items.
Результат System