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

상속: OANavigableProjectItems
파일 보기 프로젝트 열기: 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 ) : 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 ) : 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.

OAProjectItems ( OAProject project, HierarchyNode nodeWithItems ) : System

보호된 메소드들

메소드 설명
AddItem ( string path, VSADDITEMOPERATION op ) : EnvDTE.ProjectItem

Adds an item to the project.

EvaluateAddResult ( VSADDRESULT result, string path ) : EnvDTE.ProjectItem

Evaluates the result of an add operation.

GetTemplateNoZip ( string fileName ) : string

Removes .zip extensions from the components of a path.

메소드 상세

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() 공개 메소드

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 ) : 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

AddItem() 보호된 메소드

Adds an item to the project.
protected AddItem ( string path, VSADDITEMOPERATION op ) : EnvDTE.ProjectItem
path string The full path of the item to add.
op VSADDITEMOPERATION The to use when adding the item.
리턴 EnvDTE.ProjectItem

EvaluateAddResult() 보호된 메소드

Evaluates the result of an add operation.
protected EvaluateAddResult ( VSADDRESULT result, string path ) : EnvDTE.ProjectItem
result VSADDRESULT The returned by the Add methods
path string The full path of the item added.
리턴 EnvDTE.ProjectItem

GetTemplateNoZip() 보호된 정적인 메소드

Removes .zip extensions from the components of a path.
protected static GetTemplateNoZip ( string fileName ) : string
fileName string
리턴 string

OAProjectItems() 공개 메소드

public OAProjectItems ( OAProject project, HierarchyNode nodeWithItems ) : System
project OAProject
nodeWithItems HierarchyNode
리턴 System