Partager via


CompilationUnitSyntax.WithUsings Méthode

Définition

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

Paramètres

Retours

S’applique à