共用方式為


SyntaxTokenList.IndexOf(SyntaxToken) 方法

定義

public:
 int IndexOf(Microsoft::CodeAnalysis::SyntaxToken tokenInList);
public int IndexOf (Microsoft.CodeAnalysis.SyntaxToken tokenInList);
member this.IndexOf : Microsoft.CodeAnalysis.SyntaxToken -> int
Public Function IndexOf (tokenInList As SyntaxToken) As Integer

參數

tokenInList
SyntaxToken

傳回

適用於