SyntaxFactory.HandlesClause Method

Definition

Overloads

HandlesClause(SeparatedSyntaxList<HandlesClauseItemSyntax>)

Represents the "Handles ..." clause on a method declaration that describes which events this method handles.

HandlesClause(HandlesClauseItemSyntax[])

Represents the "Handles ..." clause on a method declaration that describes which events this method handles.

HandlesClause(SyntaxToken, SeparatedSyntaxList<HandlesClauseItemSyntax>)

Represents the "Handles ..." clause on a method declaration that describes which events this method handles.

HandlesClause(SeparatedSyntaxList<HandlesClauseItemSyntax>)

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
Source:
Syntax.xml.Main.Generated.vb

Represents the "Handles ..." clause on a method declaration that describes which events this method handles.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::HandlesClauseSyntax ^ HandlesClause(Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::HandlesClauseItemSyntax ^> events);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.HandlesClauseSyntax HandlesClause (Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.HandlesClauseItemSyntax> events);
static member HandlesClause : Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.HandlesClauseItemSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.HandlesClauseSyntax
Public Shared Function HandlesClause (events As SeparatedSyntaxList(Of HandlesClauseItemSyntax)) As HandlesClauseSyntax

Parameters

events
SeparatedSyntaxList<HandlesClauseItemSyntax>

The list of event members being handled.

Returns

Applies to

HandlesClause(HandlesClauseItemSyntax[])

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
Source:
Syntax.xml.Main.Generated.vb

Represents the "Handles ..." clause on a method declaration that describes which events this method handles.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::HandlesClauseSyntax ^ HandlesClause(... cli::array <Microsoft::CodeAnalysis::VisualBasic::Syntax::HandlesClauseItemSyntax ^> ^ events);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.HandlesClauseSyntax HandlesClause (params Microsoft.CodeAnalysis.VisualBasic.Syntax.HandlesClauseItemSyntax[] events);
static member HandlesClause : Microsoft.CodeAnalysis.VisualBasic.Syntax.HandlesClauseItemSyntax[] -> Microsoft.CodeAnalysis.VisualBasic.Syntax.HandlesClauseSyntax
Public Shared Function HandlesClause (ParamArray events As HandlesClauseItemSyntax()) As HandlesClauseSyntax

Parameters

events
HandlesClauseItemSyntax[]

The list of event members being handled.

Returns

Applies to

HandlesClause(SyntaxToken, SeparatedSyntaxList<HandlesClauseItemSyntax>)

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
Source:
Syntax.xml.Main.Generated.vb

Represents the "Handles ..." clause on a method declaration that describes which events this method handles.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::HandlesClauseSyntax ^ HandlesClause(Microsoft::CodeAnalysis::SyntaxToken handlesKeyword, Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::HandlesClauseItemSyntax ^> events);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.HandlesClauseSyntax HandlesClause (Microsoft.CodeAnalysis.SyntaxToken handlesKeyword, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.HandlesClauseItemSyntax> events);
static member HandlesClause : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.HandlesClauseItemSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.HandlesClauseSyntax
Public Shared Function HandlesClause (handlesKeyword As SyntaxToken, events As SeparatedSyntaxList(Of HandlesClauseItemSyntax)) As HandlesClauseSyntax

Parameters

handlesKeyword
SyntaxToken

The "Handles" keyword.

events
SeparatedSyntaxList<HandlesClauseItemSyntax>

The list of event members being handled.

Returns

Applies to