SubNewStatementSyntax.WithSubKeyword(SyntaxToken) Method

Definition

Returns a copy of this with the SubKeyword 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::SubNewStatementSyntax ^ WithSubKeyword(Microsoft::CodeAnalysis::SyntaxToken subKeyword);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.SubNewStatementSyntax WithSubKeyword (Microsoft.CodeAnalysis.SyntaxToken subKeyword);
member this.WithSubKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.SubNewStatementSyntax
Public Function WithSubKeyword (subKeyword As SyntaxToken) As SubNewStatementSyntax

Parameters

subKeyword
SyntaxToken

Returns

Applies to