SyntaxList<TNode>.IndexOf 方法

定义

重载

IndexOf(Func<TNode,Boolean>)
IndexOf(TNode)

此列表中的节点的索引;如果节点不在列表中,则为 -1。

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

参数

predicate
Func<TNode,Boolean>

返回

适用于

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

此列表中的节点的索引;如果节点不在列表中,则为 -1。

public:
 int IndexOf(TNode node);
public int IndexOf (TNode node);
member this.IndexOf : 'Node -> int
Public Function IndexOf (node As TNode) As Integer

参数

node
TNode

返回

适用于