共用方式為


FileScopedNamespaceDeclarationSyntax.WithMembers Method

Definition

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

Parameters

Returns

Applies to