Partager via


VisualBasicExtensions.MemberImports(Compilation) Méthode

Définition

Obtient la propriété MemberImports de compilation.

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

Paramètres

compilation
Compilation

Objet compilation source.

Retours

ImmutableArray de NamespaceOrTypeSymbol, à partir de la propriété MemberImports de l’instance de compilation ; sinon, immutableArray vide si l’instance de compilation est Null.

S’applique à