共用方式為


FileScopedNamespaceDeclarationSyntax.WithSemicolonToken(SyntaxToken) Method

Definition

public Microsoft.CodeAnalysis.CSharp.Syntax.FileScopedNamespaceDeclarationSyntax WithSemicolonToken (Microsoft.CodeAnalysis.SyntaxToken semicolonToken);
member this.WithSemicolonToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.FileScopedNamespaceDeclarationSyntax
Public Function WithSemicolonToken (semicolonToken As SyntaxToken) As FileScopedNamespaceDeclarationSyntax

Parameters

semicolonToken
SyntaxToken

Returns

Applies to