共用方式為


StructDeclarationSyntax.WithMembers 方法

定義

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::StructDeclarationSyntax ^ WithMembers(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::MemberDeclarationSyntax ^> members);
public Microsoft.CodeAnalysis.CSharp.Syntax.StructDeclarationSyntax 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.StructDeclarationSyntax
Public Function WithMembers (members As SyntaxList(Of MemberDeclarationSyntax)) As StructDeclarationSyntax

參數

傳回

適用於