共用方式為


SyntaxNodeOrTokenList.Equality 運算子

定義

實作運算子 = =。

public:
 static bool operator ==(Microsoft::CodeAnalysis::SyntaxNodeOrTokenList left, Microsoft::CodeAnalysis::SyntaxNodeOrTokenList right);
public static bool operator == (Microsoft.CodeAnalysis.SyntaxNodeOrTokenList left, Microsoft.CodeAnalysis.SyntaxNodeOrTokenList right);
static member ( = ) : Microsoft.CodeAnalysis.SyntaxNodeOrTokenList * Microsoft.CodeAnalysis.SyntaxNodeOrTokenList -> bool
Public Shared Operator == (left As SyntaxNodeOrTokenList, right As SyntaxNodeOrTokenList) As Boolean

參數

left
SyntaxNodeOrTokenList

左的 SyntaxNodeOrTokenList

right
SyntaxNodeOrTokenList

正確的 SyntaxNodeOrTokenList

傳回

true 如果兩個清單相等,則為 ,否則 false 為 。

適用於