共用方式為


FieldDeclarationSyntax.WithSemicolonToken(SyntaxToken) 方法

定義

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

參數

semicolonToken
SyntaxToken

傳回

適用於