TypeProvider.RemoveCodeCompileUnit(CodeCompileUnit) 方法

定义

从此实例中移除所有对主题 CodeCompileUnit 的引用。Removes all references to the subject CodeCompileUnit from this instance.

public:
 void RemoveCodeCompileUnit(System::CodeDom::CodeCompileUnit ^ codeCompileUnit);
public void RemoveCodeCompileUnit (System.CodeDom.CodeCompileUnit codeCompileUnit);
member this.RemoveCodeCompileUnit : System.CodeDom.CodeCompileUnit -> unit
Public Sub RemoveCodeCompileUnit (codeCompileUnit As CodeCompileUnit)

参数

codeCompileUnit
CodeCompileUnit

要移除的 CodeCompileUnitThe CodeCompileUnit to be removed.

例外

codeCompileUnit 为空引用(在 Visual Basic 中为 NothingcodeCompileUnit is a null reference (Nothing in Visual Basic)

注解

调用此方法时引发 TypesChangedThe TypesChanged is raised when this method is invoked.

适用于