메소드 | 설명 | |
---|---|---|
ComponentNames ( this project ) : IEnumerable |
||
ExportSourceFiles ( this project, string directoryPath ) : void |
Exports all code modules in the VbProject to a destination directory. Files are given the same name as their parent code Module name and file extensions are based on what type of code Module it is.
|
|
ImportSourceFiles ( this project, string filePath ) : void |
Imports all source code files from target directory into project. Only files with extensions "cls", "bas, "frm", and "doccls" are imported. It is the callers responsibility to remove any existing components prior to importing. |
|
RemoveAllComponents ( this project ) : void |
Removes All VbComponents from the VbProject. Document type Components cannot be physically removed from a project through the VBE. Instead, the code will simply be deleted from the code Module. |
public static ComponentNames ( this project ) : IEnumerable |
||
project | this | |
리턴 | IEnumerable |
public static ExportSourceFiles ( this project, string directoryPath ) : void | ||
project | this | The |
directoryPath | string | The destination directory path. |
리턴 | void |
public static ImportSourceFiles ( this project, string filePath ) : void | ||
project | this | |
filePath | string | Directory path containing the source files. |
리턴 | void |
public static RemoveAllComponents ( this project ) : void | ||
project | this | |
리턴 | void |