共用方式為


IfStatementSyntax.WithIfKeyword(SyntaxToken) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::IfStatementSyntax ^ WithIfKeyword(Microsoft::CodeAnalysis::SyntaxToken ifKeyword);
public Microsoft.CodeAnalysis.CSharp.Syntax.IfStatementSyntax WithIfKeyword (Microsoft.CodeAnalysis.SyntaxToken ifKeyword);
member this.WithIfKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.IfStatementSyntax
Public Function WithIfKeyword (ifKeyword As SyntaxToken) As IfStatementSyntax

Parameters

ifKeyword
SyntaxToken

Returns

Applies to