TypeProvider.RemoveAssemblyReference(String) 方法

定义

从此实例中移除基于路径的 Assembly 引用。Removes a path-based Assembly reference from this instance.

public:
 void RemoveAssemblyReference(System::String ^ path);
public void RemoveAssemblyReference (string path);
member this.RemoveAssemblyReference : string -> unit
Public Sub RemoveAssemblyReference (path As String)

参数

path
String

要移除的 Assembly 的路径。The path of the Assembly to be removed.

异常

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

注解

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

适用于