VisualBasicCompilationOptions.WithGlobalImports 方法

定义

重载

WithGlobalImports(GlobalImport[])

使用指定的其他全局导入创建新的 VisualBasicCompilationOptions 实例。

WithGlobalImports(IEnumerable<GlobalImport>)

使用指定的其他全局导入创建新的 VisualBasicCompilationOptions 实例。

WithGlobalImports(ImmutableArray<GlobalImport>)

使用指定的其他全局导入创建新的 VisualBasicCompilationOptions 实例。

WithGlobalImports(GlobalImport[])

Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb

使用指定的其他全局导入创建新的 VisualBasicCompilationOptions 实例。

public:
 Microsoft::CodeAnalysis::VisualBasic::VisualBasicCompilationOptions ^ WithGlobalImports(... cli::array <Microsoft::CodeAnalysis::VisualBasic::GlobalImport ^> ^ globalImports);
public Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions WithGlobalImports (params Microsoft.CodeAnalysis.VisualBasic.GlobalImport[] globalImports);
member this.WithGlobalImports : Microsoft.CodeAnalysis.VisualBasic.GlobalImport[] -> Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions
Public Function WithGlobalImports (ParamArray globalImports As GlobalImport()) As VisualBasicCompilationOptions

参数

globalImports
GlobalImport[]

全局导入 GlobalImport的集合。

返回

VisualBasicCompilationOptions 的新实例。

适用于

WithGlobalImports(IEnumerable<GlobalImport>)

Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb

使用指定的其他全局导入创建新的 VisualBasicCompilationOptions 实例。

public:
 Microsoft::CodeAnalysis::VisualBasic::VisualBasicCompilationOptions ^ WithGlobalImports(System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::VisualBasic::GlobalImport ^> ^ globalImports);
public Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions WithGlobalImports (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.VisualBasic.GlobalImport> globalImports);
member this.WithGlobalImports : seq<Microsoft.CodeAnalysis.VisualBasic.GlobalImport> -> Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions
Public Function WithGlobalImports (globalImports As IEnumerable(Of GlobalImport)) As VisualBasicCompilationOptions

参数

globalImports
IEnumerable<GlobalImport>

全局导入 GlobalImport的集合。

返回

VisualBasicCompilationOptions 的新实例。

适用于

WithGlobalImports(ImmutableArray<GlobalImport>)

Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb

使用指定的其他全局导入创建新的 VisualBasicCompilationOptions 实例。

public:
 Microsoft::CodeAnalysis::VisualBasic::VisualBasicCompilationOptions ^ WithGlobalImports(System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::VisualBasic::GlobalImport ^> globalImports);
public Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions WithGlobalImports (System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.VisualBasic.GlobalImport> globalImports);
member this.WithGlobalImports : System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.VisualBasic.GlobalImport> -> Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions
Public Function WithGlobalImports (globalImports As ImmutableArray(Of GlobalImport)) As VisualBasicCompilationOptions

参数

globalImports
ImmutableArray<GlobalImport>

全局导入 GlobalImport的集合。

返回

VisualBasicCompilationOptions 的新实例。

适用于