共用方式為


TypeDeclarationSyntax.AddMembers(MemberDeclarationSyntax[]) Method

Definition

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

Parameters

Returns

Applies to