Aracılığıyla paylaş


VisualBasicExtensions.MemberImports(Compilation) Method

Definition

Gets the compilation MemberImports property.

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)

Parameters

compilation
Compilation

A source Compilation object.

Returns

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

Applies to