TypeProvider.RemoveAssemblyReference(String) 方法

定義

將路徑架構的 Assembly 參考從這個執行個體中移除。

C#
public void RemoveAssemblyReference(string path);

參數

path
String

要移除之 Assembly 的路徑。

例外狀況

path 為 null 參考 (在 Visual Basic 中為 Nothing)

備註

叫用此方法時引發 TypesChanged

適用於

產品 版本
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1