SyntaxTrivia.IsEquivalentTo(SyntaxTrivia) 方法

定义

确定此琐事是否等效于指定的琐事。

public:
 bool IsEquivalentTo(Microsoft::CodeAnalysis::SyntaxTrivia trivia);
public bool IsEquivalentTo (Microsoft.CodeAnalysis.SyntaxTrivia trivia);
member this.IsEquivalentTo : Microsoft.CodeAnalysis.SyntaxTrivia -> bool
Public Function IsEquivalentTo (trivia As SyntaxTrivia) As Boolean

参数

trivia
SyntaxTrivia

返回

适用于