Share via


SyntaxFactory.KeywordEventContainer(SyntaxToken) Method

Definition

Represents event container specified through special keywords "Me", "MyBase" or "MyClass"..

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::KeywordEventContainerSyntax ^ KeywordEventContainer(Microsoft::CodeAnalysis::SyntaxToken keyword);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.KeywordEventContainerSyntax KeywordEventContainer (Microsoft.CodeAnalysis.SyntaxToken keyword);
static member KeywordEventContainer : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.KeywordEventContainerSyntax
Public Shared Function KeywordEventContainer (keyword As SyntaxToken) As KeywordEventContainerSyntax

Parameters

keyword
SyntaxToken

The container of the event. This can be one of the special keywords: "Me", "MyBase" or "MyClass".

Returns

Applies to