AddRemoveHandlerStatementSyntax Class
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.
Represents an AddHandler or RemoveHandler statement. The Kind property determines which one.
public ref class AddRemoveHandlerStatementSyntax sealed : Microsoft::CodeAnalysis::VisualBasic::Syntax::ExecutableStatementSyntax
public sealed class AddRemoveHandlerStatementSyntax : Microsoft.CodeAnalysis.VisualBasic.Syntax.ExecutableStatementSyntax
type AddRemoveHandlerStatementSyntax = class
inherit ExecutableStatementSyntax
Public NotInheritable Class AddRemoveHandlerStatementSyntax
Inherits ExecutableStatementSyntax
- Inheritance
-
AddRemoveHandlerStatementSyntax
This node is associated with the following syntax kinds:
Add |
The "AddHandler" or "RemoveHandler" keyword. |
Comma |
The "," token. |
Contains |
Determines whether this node or any sub node, token or trivia has annotations. (Inherited from SyntaxNode) |
Contains |
Determines whether this node or any of its descendant nodes, tokens or trivia have any diagnostics on them. (Inherited from SyntaxNode) |
Contains |
Determines whether this node has any descendant preprocessor directives. (Inherited from SyntaxNode) |
Contains |
Determines whether this node has any descendant skipped text. (Inherited from SyntaxNode) |
Delegate |
The delegate being added or removed. |
Event |
The event being accessed. |
Full |
The absolute span of this node in characters, including its leading and trailing trivia. (Inherited from SyntaxNode) |
Has |
Determines whether this node has any leading trivia. (Inherited from SyntaxNode) |
Has |
Determines whether a descendant trivia of this node is structured. (Inherited from SyntaxNode) |
Has |
Determines whether this node has any trailing trivia. (Inherited from SyntaxNode) |
Is |
Returns True if this node represents a directive. (Inherited from VisualBasicSyntaxNode) |
Is |
Determines whether the node represents a language construct that was actually parsed from the source code. Missing nodes are generated by the parser in error scenarios to represent constructs that should have been present in the source code in order to compile successfully but were actually missing. (Inherited from SyntaxNode) |
Is |
Determines whether this node represents a structured trivia. (Inherited from SyntaxNode) |
Kind |
(Inherited from SyntaxNode) |
Language |
The language name this node is syntax of. (Inherited from VisualBasicSyntaxNode) |
Parent |
The node that contains this node in its ChildNodes() collection. (Inherited from SyntaxNode) |
Parent |
(Inherited from SyntaxNode) |
Raw |
An integer representing the language specific kind of this node. (Inherited from SyntaxNode) |
Span |
The absolute span of this node in characters, not including its leading and trailing trivia. (Inherited from SyntaxNode) |
Span |
Same as accessing Start on Span. (Inherited from VisualBasicSyntaxNode) |
Syntax |
Returns SyntaxTree that owns the node. (Inherited from SyntaxNode) |
Syntax |
(Inherited from VisualBasicSyntaxNode) |
Accept(Visual |
|
Accept<TResult>(Visual |
|
Ancestors(Boolean) |
Gets a list of ancestor nodes (Inherited from SyntaxNode) |
Ancestors |
Gets a list of ancestor nodes (including this node) (Inherited from SyntaxNode) |
Child |
Gets a list of the child nodes in prefix document order. (Inherited from SyntaxNode) |
Child |
The list of child nodes and tokens of this node, where each element is a SyntaxNodeOrToken instance. (Inherited from SyntaxNode) |
Child |
(Inherited from SyntaxNode) |
Child |
Gets a list of the direct child tokens of this node. (Inherited from SyntaxNode) |
Contains(Syntax |
Determines if the specified node is a descendant of this node. Returns true for current node. (Inherited from SyntaxNode) |
Contains |
Returns true if this node contains any directives (e.g. |
Copy |
Copies all SyntaxAnnotations, if any, from this SyntaxNode instance and attaches them to a new instance based on |
Descendant |
Gets a list of descendant nodes in prefix document order. (Inherited from SyntaxNode) |
Descendant |
Gets a list of descendant nodes in prefix document order. (Inherited from SyntaxNode) |
Descendant |
Gets a list of descendant nodes (including this node) in prefix document order. (Inherited from SyntaxNode) |
Descendant |
Gets a list of descendant nodes (including this node) in prefix document order. (Inherited from SyntaxNode) |
Descendant |
Gets a list of descendant nodes and tokens in prefix document order. (Inherited from SyntaxNode) |
Descendant |
Gets a list of the descendant nodes and tokens in prefix document order. (Inherited from SyntaxNode) |
Descendant |
Gets a list of descendant nodes and tokens (including this node) in prefix document order. (Inherited from SyntaxNode) |
Descendant |
Gets a list of the descendant nodes and tokens (including this node) in prefix document order. (Inherited from SyntaxNode) |
Descendant |
Gets a list of all the tokens in the span of this node. (Inherited from SyntaxNode) |
Descendant |
Gets a list of all the tokens in the full span of this node. (Inherited from SyntaxNode) |
Descendant |
Get a list of all the trivia associated with the descendant nodes and tokens. (Inherited from SyntaxNode) |
Descendant |
Get a list of all the trivia associated with the descendant nodes and tokens. (Inherited from SyntaxNode) |
Equivalent |
Determine if this node is structurally equivalent to another. (Inherited from SyntaxNode) |
Find |
Finds the node with the smallest FullSpan that contains |
Find |
Finds a token according to the following rules:
|
Find |
Finds a descendant token of this node whose span includes the supplied position. (Inherited from SyntaxNode) |
Find |
Finds a descendant token of this node whose span includes the supplied position. (Inherited from SyntaxNode) |
Find |
(Inherited from VisualBasicSyntaxNode) |
Find |
Finds a descendant trivia of this node at the specified position, where the position is within the span of the node. (Inherited from SyntaxNode) |
Find |
Finds a descendant trivia of this node whose span includes the supplied position. (Inherited from SyntaxNode) |
First |
Gets the first node of type TNode that matches the predicate. (Inherited from SyntaxNode) |
First |
Gets the first node of type TNode that matches the predicate. (Inherited from SyntaxNode) |
Get |
Gets all nodes with the specified annotation kind. (Inherited from SyntaxNode) |
Get |
Gets all nodes with the specified annotation. (Inherited from SyntaxNode) |
Get |
Gets all nodes and tokens with an annotation of the specified annotation kind. (Inherited from SyntaxNode) |
Get |
Gets all nodes and tokens with an annotation of the specified annotation kinds. (Inherited from SyntaxNode) |
Get |
Gets all nodes and tokens with the specified annotation. (Inherited from SyntaxNode) |
Get |
Gets all tokens with the specified annotation kind. (Inherited from SyntaxNode) |
Get |
Gets all tokens with the specified annotation. (Inherited from SyntaxNode) |
Get |
Gets all trivia with an annotation of the specified annotation kind. (Inherited from SyntaxNode) |
Get |
Gets all trivia with an annotation of the specified annotation kinds. (Inherited from SyntaxNode) |
Get |
Gets all trivia with the specified annotation. (Inherited from SyntaxNode) |
Get |
Gets all the annotations with the specified annotation kinds. (Inherited from SyntaxNode) |
Get |
Gets all the annotations with the specified annotation kind. (Inherited from SyntaxNode) |
Get |
Gets a list of all the diagnostics in the sub tree that has this node as its root. This method does not filter diagnostics based on compiler options like nowarn, warnaserror etc. (Inherited from VisualBasicSyntaxNode) |
Get |
(Inherited from VisualBasicSyntaxNode) |
Get |
(Inherited from VisualBasicSyntaxNode) |
Get |
(Inherited from VisualBasicSyntaxNode) |
Get |
(Inherited from VisualBasicSyntaxNode) |
Get |
(Inherited from VisualBasicSyntaxNode) |
Get |
Get the preceding trivia nodes of this node. If this node is a token, returns the preceding trivia associated with this node. If this is a non-terminal, returns the preceding trivia of the first token of this node. (Inherited from VisualBasicSyntaxNode) |
Get |
Gets the location of this node. (Inherited from VisualBasicSyntaxNode) |
Get |
(Inherited from SyntaxNode) |
Get |
(Inherited from SyntaxNode) |
Get |
Gets a SyntaxReference for this syntax node. CommonSyntaxReferences can be used to regain access to a syntax node without keeping the entire tree and source text in memory. (Inherited from SyntaxNode) |
Get |
Gets the full text of this node as a new SourceText instance. (Inherited from SyntaxNode) |
Get |
Get the following trivia nodes of this node. If this node is a token, returns the following trivia associated with this node. If this is a non-terminal, returns the following trivia of the last token of this node. (Inherited from VisualBasicSyntaxNode) |
Has |
Determines whether this node has the specific annotation. (Inherited from SyntaxNode) |
Has |
Determines whether this node has any annotations with any of the specific annotation kinds. (Inherited from SyntaxNode) |
Has |
Determines whether this node has any annotations with the specific annotation kind. (Inherited from SyntaxNode) |
Insert |
(Inherited from VisualBasicSyntaxNode) |
Insert |
(Inherited from VisualBasicSyntaxNode) |
Insert |
(Inherited from VisualBasicSyntaxNode) |
Is |
Determines if two nodes are the same, disregarding trivia differences. (Inherited from SyntaxNode) |
Is |
Determine whether this node is structurally equivalent to another. (Inherited from SyntaxNode) |
Is |
(Inherited from VisualBasicSyntaxNode) |
Is |
Returns true if these two nodes are considered "incrementally identical". An incrementally identical node occurs when a SyntaxTree is incrementally parsed using WithChangedText(SourceText) and the incremental parser is able to take the node from the original tree and use it in its entirety in the new tree. In this case, the ToFullString() of each node will be the same, though they could have different parents, and may occur at different positions in their respective trees. If two nodes are incrementally identical, all children of each node will be incrementally identical as well. (Inherited from SyntaxNode) |
Is |
Determines whether this node is a descendant of a structured trivia. (Inherited from SyntaxNode) |
Kind() |
Returns the SyntaxKind of the node. (Inherited from VisualBasicSyntaxNode) |
Normalize |
(Inherited from VisualBasicSyntaxNode) |
Remove |
(Inherited from VisualBasicSyntaxNode) |
Replace |
(Inherited from VisualBasicSyntaxNode) |
Replace |
(Inherited from VisualBasicSyntaxNode) |
Replace |
(Inherited from VisualBasicSyntaxNode) |
Replace |
(Inherited from VisualBasicSyntaxNode) |
Serialize |
Obsolete.
Obsolete.
Serializes the node to the given |
To |
Returns full string representation of this node including its leading and trailing trivia. (Inherited from SyntaxNode) |
To |
Returns the string representation of this node, not including its leading and trailing trivia. (Inherited from SyntaxNode) |
Update(Syntax |
Returns a copy of this with the specified changes. Returns this instance if there are no actual changes. |
With |
Returns a copy of this with the AddHandlerOrRemoveHandlerKeyword property changed to the specified value. Returns this instance if the specified value is the same as the current value. |
With |
Returns a copy of this with the CommaToken property changed to the specified value. Returns this instance if the specified value is the same as the current value. |
With |
Returns a copy of this with the DelegateExpression property changed to the specified value. Returns this instance if the specified value is the same as the current value. |
With |
Returns a copy of this with the EventExpression property changed to the specified value. Returns this instance if the specified value is the same as the current value. |
Write |
Writes the full text of this node to the specified TextWriter. (Inherited from SyntaxNode) |
Get |
Gets the first directive of the tree rooted by this node. |
Get |
Gets the last directive of the tree rooted by this node. |
Kind(Syntax |
Returns SyntaxKind for SyntaxNode from RawKind property. |
Try |
Given an initializer expression infer the name of anonymous property or tuple element. Returns null if unsuccessful |
Contains |
Returns true if this node contains any directives (e.g. |
Is |
Determines if SyntaxNode is of a specified kind. |
Get |
Gets the node within the subtree corresponding to the original tracked node. Use TrackNodes to start tracking nodes. |
Get |
Gets the nodes within the subtree corresponding to the original tracked node. Use TrackNodes to start tracking nodes. |
Get |
Gets the nodes within the subtree corresponding to the original tracked nodes. Use TrackNodes to start tracking nodes. |
Try |
Given an initializer expression infer the name of anonymous property or tuple element. Returns Nothing if unsuccessful |
Get |
Gets the DirectiveTriviaSyntax items for a specified SyntaxNode with optional filtering. |
Get |
Gets the first DirectiveTriviaSyntax item for a specified SyntaxNode. |
Get |
Gets the last DirectiveTriviaSyntax item for a specified SyntaxNode. |
Kind(Syntax |
Returns SyntaxKind for SyntaxNode from RawKind property. |
Contains |
Returns true if this node contains any directives (e.g. |
Is |
Determines if SyntaxNode is of a specified kind. |
.NET feedback
.NET is an open source project. Select a link to provide feedback: