MethodStatementSyntax.SubOrFunctionKeyword 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.
The "Sub" or "Function" keyword that introduces this method declaration.
public:
 property Microsoft::CodeAnalysis::SyntaxToken SubOrFunctionKeyword { Microsoft::CodeAnalysis::SyntaxToken get(); };public Microsoft.CodeAnalysis.SyntaxToken SubOrFunctionKeyword { get; }member this.SubOrFunctionKeyword : Microsoft.CodeAnalysis.SyntaxTokenPublic ReadOnly Property SubOrFunctionKeyword As SyntaxToken