CSharpCompilationOptions.WithUsings 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.
Overloads
WithUsings(IEnumerable<String>) | |
WithUsings(ImmutableArray<String>) | |
WithUsings(String[]) |
WithUsings(IEnumerable<String>)
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
public:
Microsoft::CodeAnalysis::CSharp::CSharpCompilationOptions ^ WithUsings(System::Collections::Generic::IEnumerable<System::String ^> ^ usings);
public Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions WithUsings (System.Collections.Generic.IEnumerable<string> usings);
public Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions WithUsings (System.Collections.Generic.IEnumerable<string>? usings);
member this.WithUsings : seq<string> -> Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions
Public Function WithUsings (usings As IEnumerable(Of String)) As CSharpCompilationOptions
Parameters
- usings
- IEnumerable<String>
Returns
Applies to
WithUsings(ImmutableArray<String>)
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
public:
Microsoft::CodeAnalysis::CSharp::CSharpCompilationOptions ^ WithUsings(System::Collections::Immutable::ImmutableArray<System::String ^> usings);
public Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions WithUsings (System.Collections.Immutable.ImmutableArray<string> usings);
member this.WithUsings : System.Collections.Immutable.ImmutableArray<string> -> Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions
Public Function WithUsings (usings As ImmutableArray(Of String)) As CSharpCompilationOptions
Parameters
- usings
- ImmutableArray<String>
Returns
Applies to
WithUsings(String[])
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
public:
Microsoft::CodeAnalysis::CSharp::CSharpCompilationOptions ^ WithUsings(... cli::array <System::String ^> ^ usings);
public Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions WithUsings (params string[] usings);
public Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions WithUsings (params string[]? usings);
member this.WithUsings : string[] -> Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions
Public Function WithUsings (ParamArray usings As String()) As CSharpCompilationOptions
Parameters
- usings
- String[]
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.