共用方式為


CSharpCompilation.AddReferences 方法

定義

多載

AddReferences(MetadataReference[])

使用其他中繼資料參考建立新的編譯。

AddReferences(IEnumerable<MetadataReference>)

使用其他中繼資料參考建立新的編譯。

AddReferences(MetadataReference[])

Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs

使用其他中繼資料參考建立新的編譯。

public:
 Microsoft::CodeAnalysis::CSharp::CSharpCompilation ^ AddReferences(... cli::array <Microsoft::CodeAnalysis::MetadataReference ^> ^ references);
public Microsoft.CodeAnalysis.CSharp.CSharpCompilation AddReferences (params Microsoft.CodeAnalysis.MetadataReference[] references);
override this.AddReferences : Microsoft.CodeAnalysis.MetadataReference[] -> Microsoft.CodeAnalysis.CSharp.CSharpCompilation
Public Function AddReferences (ParamArray references As MetadataReference()) As CSharpCompilation

參數

references
MetadataReference[]

傳回

適用於

AddReferences(IEnumerable<MetadataReference>)

Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs

使用其他中繼資料參考建立新的編譯。

public:
 Microsoft::CodeAnalysis::CSharp::CSharpCompilation ^ AddReferences(System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::MetadataReference ^> ^ references);
public Microsoft.CodeAnalysis.CSharp.CSharpCompilation AddReferences (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.MetadataReference> references);
override this.AddReferences : seq<Microsoft.CodeAnalysis.MetadataReference> -> Microsoft.CodeAnalysis.CSharp.CSharpCompilation
Public Function AddReferences (references As IEnumerable(Of MetadataReference)) As CSharpCompilation

參數

傳回

適用於