共用方式為


EnumDeclarationSyntax.WithMembers Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::EnumDeclarationSyntax ^ WithMembers(Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::EnumMemberDeclarationSyntax ^> members);
public Microsoft.CodeAnalysis.CSharp.Syntax.EnumDeclarationSyntax WithMembers (Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.EnumMemberDeclarationSyntax> members);
member this.WithMembers : Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.EnumMemberDeclarationSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.EnumDeclarationSyntax
Public Function WithMembers (members As SeparatedSyntaxList(Of EnumMemberDeclarationSyntax)) As EnumDeclarationSyntax

Parameters

Returns

Applies to