Megosztás a következőn keresztül:


VisualBasicExtensions.AliasImports(Compilation) Method

Definition

Gets the compilation AliasImports property.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::IAliasSymbol ^> AliasImports(Microsoft::CodeAnalysis::Compilation ^ compilation);
public static System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.IAliasSymbol> AliasImports (this Microsoft.CodeAnalysis.Compilation compilation);
static member AliasImports : Microsoft.CodeAnalysis.Compilation -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.IAliasSymbol>
<Extension()>
Public Function AliasImports (compilation As Compilation) As ImmutableArray(Of IAliasSymbol)

Parameters

compilation
Compilation

A source Compilation object.

Returns

An ImmutableArray of AliasSymbol, from the compilation instance AliasImports property; otherwise an empty ImmutableArray if compilation instance is Null.

Applies to