Delen via


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