C# 클래스 Rubberduck.VBEditor.Extensions.VBComponentsExtensions

파일 보기 프로젝트 열기: retailcoder/Rubberduck

공개 메소드들

메소드 설명
ImportSourceFile ( this components, string filePath ) : void
RemoveSafely ( this components, VBComponent component ) : void

Safely removes the specified VbComponent from the collection.

UserForms, Class modules, and Standard modules are completely removed from the project. Since Document type components can't be removed through the VBE, all code in its CodeModule are deleted instead.

메소드 상세

ImportSourceFile() 공개 정적인 메소드

public static ImportSourceFile ( this components, string filePath ) : void
components this
filePath string
리턴 void

RemoveSafely() 공개 정적인 메소드

Safely removes the specified VbComponent from the collection.
UserForms, Class modules, and Standard modules are completely removed from the project. Since Document type components can't be removed through the VBE, all code in its CodeModule are deleted instead.
public static RemoveSafely ( this components, VBComponent component ) : void
components this
component VBComponent
리턴 void