次の方法で共有


ClassDeclarationSyntax.WithMembers Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::ClassDeclarationSyntax ^ WithMembers(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::MemberDeclarationSyntax ^> members);
public Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax WithMembers (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax> members);
override this.WithMembers : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax
Public Function WithMembers (members As SyntaxList(Of MemberDeclarationSyntax)) As ClassDeclarationSyntax

Parameters

Returns

Applies to