Compartir a través de


VisualBasicCompilationOptions.WithGlobalImports Method

Definition

Overloads

WithGlobalImports(GlobalImport[])

Creates a new VisualBasicCompilationOptions instance with a different global imports specified.

WithGlobalImports(IEnumerable<GlobalImport>)

Creates a new VisualBasicCompilationOptions instance with a different global imports specified.

WithGlobalImports(ImmutableArray<GlobalImport>)

Creates a new VisualBasicCompilationOptions instance with a different global imports specified.

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

Creates a new VisualBasicCompilationOptions instance with a different global imports specified.

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

Parameters

globalImports
GlobalImport[]

A collection of Global Imports GlobalImport.

Returns

A new instance of VisualBasicCompilationOptions.

Applies to

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

Creates a new VisualBasicCompilationOptions instance with a different global imports specified.

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

Parameters

globalImports
IEnumerable<GlobalImport>

A collection of Global Imports GlobalImport.

Returns

A new instance of VisualBasicCompilationOptions.

Applies to

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

Creates a new VisualBasicCompilationOptions instance with a different global imports specified.

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

Parameters

globalImports
ImmutableArray<GlobalImport>

A collection of Global Imports GlobalImport.

Returns

A new instance of VisualBasicCompilationOptions.

Applies to