Share via


WithStatementSyntax.WithWithKeyword(SyntaxToken) Method

Definition

Returns a copy of this with the WithKeyword 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::WithStatementSyntax ^ WithWithKeyword(Microsoft::CodeAnalysis::SyntaxToken withKeyword);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.WithStatementSyntax WithWithKeyword (Microsoft.CodeAnalysis.SyntaxToken withKeyword);
member this.WithWithKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.WithStatementSyntax
Public Function WithWithKeyword (withKeyword As SyntaxToken) As WithStatementSyntax

Parameters

withKeyword
SyntaxToken

Returns

Applies to