CompilationUnitSyntax.AddImports(ImportsStatementSyntax[]) 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.
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
- items
- ImportsStatementSyntax[]