VisualBasicExtensions.MemberImports(Compilation) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.