共用方式為


CompilationUnitSyntax.AddMembers(StatementSyntax[]) Method

Definition

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

Parameters

items
StatementSyntax[]

Returns

Applies to