Bagikan melalui


VisualBasicExtensions.AliasImports(Compilation) Metode

Definisi

Mendapatkan properti Kompilasi AliasImports.

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)

Parameter

compilation
Compilation

Objek Kompilasi sumber.

Mengembalikan

ImmutableArray dari AliasSymbol, dari properti instans kompilasi AliasImports; jika tidak, immutableArray kosong jika instans kompilasi null.

Berlaku untuk