Cookie.Equals(Object) 方法
定义
重写 Equals(Object) 方法。Overrides the Equals(Object) method.
public:
override bool Equals(System::Object ^ comparand);
public override bool Equals (object comparand);
public override bool Equals (object? comparand);
override this.Equals : obj -> bool
Public Overrides Function Equals (comparand As Object) As Boolean
参数
返回
如果 Cookie 等于 comparand,则返回 true。Returns true if the Cookie is equal to comparand. 两个 Cookie 实例相等的条件是它们的 Name、Value、Path、Domain 和 Version 属性相等。Two Cookie instances are equal if their Name, Value, Path, Domain, and Version properties are equal. Name 和 Domain 字符串比较不区分大小写。Name and Domain string comparisons are case-insensitive.