共用方式為


LocalDeclarationStatementSyntax.WithSemicolonToken(SyntaxToken) Method

Definition

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

Parameters

semicolonToken
SyntaxToken

Returns

Applies to