Partager via


CompilationUnitSyntax.AddImports(ImportsStatementSyntax[]) Method

Definition

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::CompilationUnitSyntax ^ AddImports(... cli::array <Microsoft::CodeAnalysis::VisualBasic::Syntax::ImportsStatementSyntax ^> ^ items);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.CompilationUnitSyntax AddImports (params Microsoft.CodeAnalysis.VisualBasic.Syntax.ImportsStatementSyntax[] items);
member this.AddImports : Microsoft.CodeAnalysis.VisualBasic.Syntax.ImportsStatementSyntax[] -> Microsoft.CodeAnalysis.VisualBasic.Syntax.CompilationUnitSyntax
Public Function AddImports (ParamArray items As ImportsStatementSyntax()) As CompilationUnitSyntax

Parameters

Returns

Applies to