Share via


SubNewStatementSyntax.WithDeclarationKeyword(SyntaxToken) Method

Definition

public:
 override Microsoft::CodeAnalysis::VisualBasic::Syntax::MethodBaseSyntax ^ WithDeclarationKeyword(Microsoft::CodeAnalysis::SyntaxToken keyword);
public override Microsoft.CodeAnalysis.VisualBasic.Syntax.MethodBaseSyntax WithDeclarationKeyword (Microsoft.CodeAnalysis.SyntaxToken keyword);
override this.WithDeclarationKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.MethodBaseSyntax
Public Overrides Function WithDeclarationKeyword (keyword As SyntaxToken) As MethodBaseSyntax

Parameters

keyword
SyntaxToken

Returns

Applies to