SyntaxFactory.HandlesClauseItem Method
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.
Overloads
HandlesClauseItem(EventContainerSyntax, SyntaxToken, IdentifierNameSyntax) |
Represents a single handled event in a "Handles ..." clause. |
HandlesClauseItem(EventContainerSyntax, IdentifierNameSyntax) |
Represents a single handled event in a "Handles ..." clause. |
HandlesClauseItem(EventContainerSyntax, SyntaxToken, IdentifierNameSyntax)
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
Represents a single handled event in a "Handles ..." clause.
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::HandlesClauseItemSyntax ^ HandlesClauseItem(Microsoft::CodeAnalysis::VisualBasic::Syntax::EventContainerSyntax ^ eventContainer, Microsoft::CodeAnalysis::SyntaxToken dotToken, Microsoft::CodeAnalysis::VisualBasic::Syntax::IdentifierNameSyntax ^ eventMember);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.HandlesClauseItemSyntax HandlesClauseItem (Microsoft.CodeAnalysis.VisualBasic.Syntax.EventContainerSyntax eventContainer, Microsoft.CodeAnalysis.SyntaxToken dotToken, Microsoft.CodeAnalysis.VisualBasic.Syntax.IdentifierNameSyntax eventMember);
static member HandlesClauseItem : Microsoft.CodeAnalysis.VisualBasic.Syntax.EventContainerSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.IdentifierNameSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.HandlesClauseItemSyntax
Public Shared Function HandlesClauseItem (eventContainer As EventContainerSyntax, dotToken As SyntaxToken, eventMember As IdentifierNameSyntax) As HandlesClauseItemSyntax
Parameters
- eventContainer
- EventContainerSyntax
The container of the event. This can either be a simple identifier (identifying a members of the containing type) or one of the special keywords "Me", "MyBase" or "MyClass".
- dotToken
- SyntaxToken
The "." token.
- eventMember
- IdentifierNameSyntax
The event being handled. This must be a simple identifier.
Returns
Applies to
HandlesClauseItem(EventContainerSyntax, IdentifierNameSyntax)
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
Represents a single handled event in a "Handles ..." clause.
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::HandlesClauseItemSyntax ^ HandlesClauseItem(Microsoft::CodeAnalysis::VisualBasic::Syntax::EventContainerSyntax ^ eventContainer, Microsoft::CodeAnalysis::VisualBasic::Syntax::IdentifierNameSyntax ^ eventMember);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.HandlesClauseItemSyntax HandlesClauseItem (Microsoft.CodeAnalysis.VisualBasic.Syntax.EventContainerSyntax eventContainer, Microsoft.CodeAnalysis.VisualBasic.Syntax.IdentifierNameSyntax eventMember);
static member HandlesClauseItem : Microsoft.CodeAnalysis.VisualBasic.Syntax.EventContainerSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.IdentifierNameSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.HandlesClauseItemSyntax
Public Shared Function HandlesClauseItem (eventContainer As EventContainerSyntax, eventMember As IdentifierNameSyntax) As HandlesClauseItemSyntax
Parameters
- eventContainer
- EventContainerSyntax
The container of the event. This can either be a simple identifier (identifying a members of the containing type) or one of the special keywords "Me", "MyBase" or "MyClass".
- eventMember
- IdentifierNameSyntax
The event being handled. This must be a simple identifier.