C# 클래스 Microsoft.VisualStudio.Project.Automation.OANavigableProjectItems

상속: EnvDTE.ProjectItems
파일 보기 프로젝트 열기: tunnelvisionlabs/MPFProj10

공개 메소드들

메소드 설명
AddFileLink ( string fileName ) : EnvDTE.ProjectItem

Adds a project item which is a link to a file outside the project directory structure.

AddFolder ( string name, string kind ) : EnvDTE.ProjectItem

Creates a new folder in Solution Explorer.

AddFromDirectory ( string directory ) : EnvDTE.ProjectItem

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

AddFromFile ( string fileName ) : EnvDTE.ProjectItem

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

AddFromFileCopy ( string filePath ) : EnvDTE.ProjectItem

Copies a source file and adds it to the project.

AddFromTemplate ( string fileName, string name ) : EnvDTE.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.

Item ( object index ) : EnvDTE.ProjectItem

Get Project Item from index

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.

메소드 상세

AddFileLink() 공개 메소드

Adds a project item which is a link to a file outside the project directory structure.
public AddFileLink ( string fileName ) : EnvDTE.ProjectItem
fileName string The file to be linked to the project.
리턴 EnvDTE.ProjectItem

AddFolder() 공개 메소드

Creates a new folder in Solution Explorer.
public AddFolder ( string name, string kind ) : EnvDTE.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
리턴 EnvDTE.ProjectItem

AddFromDirectory() 공개 메소드

Adds one or more ProjectItem objects from a directory to the ProjectItems collection.
public AddFromDirectory ( string directory ) : EnvDTE.ProjectItem
directory string The directory from which to add the project item.
리턴 EnvDTE.ProjectItem

AddFromFile() 공개 메소드

Adds a project item from a file that is installed in a project directory structure.
public AddFromFile ( string fileName ) : EnvDTE.ProjectItem
fileName string The file name of the item to add as a project item.
리턴 EnvDTE.ProjectItem

AddFromFileCopy() 공개 메소드

Copies a source file and adds it to the project.
public AddFromFileCopy ( string filePath ) : EnvDTE.ProjectItem
filePath string The path and file name of the project item to be added.
리턴 EnvDTE.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 ) : EnvDTE.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.
리턴 EnvDTE.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

Item() 공개 메소드

Get Project Item from index
public Item ( object index ) : EnvDTE.ProjectItem
index object Either index by number (1-based) or by name can be used to get the item
리턴 EnvDTE.ProjectItem

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