SyntaxList<TNode>.IndexOf 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
IndexOf(Func<TNode,Boolean>) | |
IndexOf(TNode) |
The index of the node in this list, or -1 if the node is not in the list. |
IndexOf(Func<TNode,Boolean>)
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
public:
int IndexOf(Func<TNode, bool> ^ predicate);
public int IndexOf (Func<TNode,bool> predicate);
member this.IndexOf : Func<'Node, bool (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)> -> int
Public Function IndexOf (predicate As Func(Of TNode, Boolean)) As Integer
Parameters
Returns
Applies to
IndexOf(TNode)
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
- Source:
- SyntaxList%601.cs
The index of the node in this list, or -1 if the node is not in the list.
public:
int IndexOf(TNode node);
public int IndexOf (TNode node);
member this.IndexOf : 'Node -> int
Public Function IndexOf (node As TNode) As Integer
Parameters
- node
- TNode
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.