CompilationUnitSyntax.WithUsings Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::CompilationUnitSyntax ^ WithUsings(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::UsingDirectiveSyntax ^> usings);
public Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax WithUsings (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax> usings);
member this.WithUsings : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax
Public Function WithUsings (usings As SyntaxList(Of UsingDirectiveSyntax)) As CompilationUnitSyntax

Parameters

Returns

Applies to