共用方式為


InterfaceDeclarationSyntax.AddMembers(MemberDeclarationSyntax[]) Method

Definition

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

Parameters

Returns

Applies to