Click or drag to resize

TypeStatementSyntaxWithDeclarationKeyword Method



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

Namespace:  Microsoft.CodeAnalysis.VisualBasic.Syntax
Assembly:  Microsoft.CodeAnalysis.VisualBasic (in Microsoft.CodeAnalysis.VisualBasic.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public abstract TypeStatementSyntax WithDeclarationKeyword(
	SyntaxToken keyword
)

Parameters

keyword
Type: Microsoft.CodeAnalysisSyntaxToken

Return Value

Type: TypeStatementSyntax
See Also