共用方式為


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

傳回

適用於