共用方式為


RelationalCaseClauseSyntax.WithIsKeyword(SyntaxToken) Method

Definition

Returns a copy of this with the IsKeyword property changed to the specified value. Returns this instance if the specified value is the same as the current value.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::RelationalCaseClauseSyntax ^ WithIsKeyword(Microsoft::CodeAnalysis::SyntaxToken isKeyword);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.RelationalCaseClauseSyntax WithIsKeyword (Microsoft.CodeAnalysis.SyntaxToken isKeyword);
member this.WithIsKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.RelationalCaseClauseSyntax
Public Function WithIsKeyword (isKeyword As SyntaxToken) As RelationalCaseClauseSyntax

Parameters

isKeyword
SyntaxToken

Returns

Applies to