VisualBasicExtensions.MemberImports(Compilation) 方法

定义

获取编译 MemberImports 属性。

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)

参数

compilation
Compilation

源编译对象。

返回

来自编译实例 MemberImports 属性的 NamespaceOrTypeSymbol 的 ImmutableArray;否则,如果编译实例为 Null,则为空 ImmutableArray。

适用于