Share via


MethodBaseSyntax.DeclarationKeyword Property

Definition

Returns the keyword indicating the kind of declaration being made: "Sub", "Function", "Event", "Property", etc. Does not return either the "Declare" or "Delegate" keywords.

public:
 abstract property Microsoft::CodeAnalysis::SyntaxToken DeclarationKeyword { Microsoft::CodeAnalysis::SyntaxToken get(); };
public abstract Microsoft.CodeAnalysis.SyntaxToken DeclarationKeyword { get; }
member this.DeclarationKeyword : Microsoft.CodeAnalysis.SyntaxToken
Public MustOverride ReadOnly Property DeclarationKeyword As SyntaxToken

Property Value

Applies to