共用方式為


Compilation.RemoveReferences 方法

定義

多載

RemoveReferences(IEnumerable<MetadataReference>)

建立不含指定中繼資料參考的新編譯。

RemoveReferences(MetadataReference[])

建立不含指定中繼資料參考的新編譯。

RemoveReferences(IEnumerable<MetadataReference>)

Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs

建立不含指定中繼資料參考的新編譯。

public:
 Microsoft::CodeAnalysis::Compilation ^ RemoveReferences(System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::MetadataReference ^> ^ references);
public Microsoft.CodeAnalysis.Compilation RemoveReferences (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.MetadataReference> references);
member this.RemoveReferences : seq<Microsoft.CodeAnalysis.MetadataReference> -> Microsoft.CodeAnalysis.Compilation
Public Function RemoveReferences (references As IEnumerable(Of MetadataReference)) As Compilation

參數

references
IEnumerable<MetadataReference>

新的參考。

傳回

新的編譯。

適用於

RemoveReferences(MetadataReference[])

Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs

建立不含指定中繼資料參考的新編譯。

public:
 Microsoft::CodeAnalysis::Compilation ^ RemoveReferences(... cli::array <Microsoft::CodeAnalysis::MetadataReference ^> ^ references);
public Microsoft.CodeAnalysis.Compilation RemoveReferences (params Microsoft.CodeAnalysis.MetadataReference[] references);
member this.RemoveReferences : Microsoft.CodeAnalysis.MetadataReference[] -> Microsoft.CodeAnalysis.Compilation
Public Function RemoveReferences (ParamArray references As MetadataReference()) As Compilation

參數

references
MetadataReference[]

新的參考。

傳回

新的編譯。

適用於