共用方式為


CompilationUnitSyntax.AddMembers(MemberDeclarationSyntax[]) Method

Definition

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

Parameters

Returns

Applies to