Поделиться через


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[]

Новые ссылки.

Возвращаемое значение

Новая компиляция.

Применяется к