Token.Equality(Token, Token) 运算符

定义

检查两个指定的 Token 实例是否具有相同的值。

public:
 static bool operator ==(System::CommandLine::Parsing::Token left, System::CommandLine::Parsing::Token right);
public static bool operator == (System.CommandLine.Parsing.Token left, System.CommandLine.Parsing.Token right);
static member ( = ) : System.CommandLine.Parsing.Token * System.CommandLine.Parsing.Token -> bool
Public Shared Operator == (left As Token, right As Token) As Boolean

参数

left
Token

第一个 Token

right
Token

第二个 Token

返回

如果对象相等,则为 true

适用于