EncodingInfo.Equals(Object) 方法
定义
获取一个值,该值指示指定的对象是否等于当前的 EncodingInfo 对象。Gets a value indicating whether the specified object is equal to the current EncodingInfo object.
public:
override bool Equals(System::Object ^ value);
public override bool Equals (object? value);
public override bool Equals (object value);
override this.Equals : obj -> bool
Public Overrides Function Equals (value As Object) As Boolean
参数
- value
- Object
要与当前 EncodingInfo 对象进行比较的对象。An object to compare to the current EncodingInfo object.
返回
如果 value 是 EncodingInfo 对象且等于当前 EncodingInfo 对象,则为 true;否则为 false。true if value is a EncodingInfo object and is equal to the current EncodingInfo object; otherwise, false.
注解
如果两个对象的属性相等,则这两个 EncodingInfo 对象相等 CodePage 。Two EncodingInfo objects are equal if their CodePage properties are equal.