TypeProvider.RemoveAssembly(Assembly) 方法

定义

从此实例中移除所有对主题 Assembly 的引用。

public:
 void RemoveAssembly(System::Reflection::Assembly ^ assembly);
public void RemoveAssembly (System.Reflection.Assembly assembly);
member this.RemoveAssembly : System.Reflection.Assembly -> unit
Public Sub RemoveAssembly (assembly As Assembly)

参数

assembly
Assembly

要从此实例中移除的 Assembly

例外

assembly 为空引用(在 Visual Basic 中为 Nothing

注解

调用此方法时引发 TypesChanged

适用于