MethodBaseSyntax.DeclarationKeyword Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.