Partilhar via


OptionStatementSyntax.WithValueKeyword(SyntaxToken) Method

Definition

Returns a copy of this with the ValueKeyword 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::OptionStatementSyntax ^ WithValueKeyword(Microsoft::CodeAnalysis::SyntaxToken valueKeyword);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.OptionStatementSyntax WithValueKeyword (Microsoft.CodeAnalysis.SyntaxToken valueKeyword);
member this.WithValueKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.OptionStatementSyntax
Public Function WithValueKeyword (valueKeyword As SyntaxToken) As OptionStatementSyntax

Parameters

valueKeyword
SyntaxToken

Returns

Applies to