HandleComparer.Equals 方法
定义
重载
| Equals(EntityHandle, EntityHandle) |
确定指定的对象是否相等。Determines whether the specified objects are equal. |
| Equals(Handle, Handle) |
确定指定的对象是否相等。Determines whether the specified objects are equal. |
Equals(EntityHandle, EntityHandle)
确定指定的对象是否相等。Determines whether the specified objects are equal.
public:
virtual bool Equals(System::Reflection::Metadata::EntityHandle x, System::Reflection::Metadata::EntityHandle y);
public bool Equals (System.Reflection.Metadata.EntityHandle x, System.Reflection.Metadata.EntityHandle y);
override this.Equals : System.Reflection.Metadata.EntityHandle * System.Reflection.Metadata.EntityHandle -> bool
Public Function Equals (x As EntityHandle, y As EntityHandle) As Boolean
参数
要比较的第一个类型为 T 的对象。The first object of type T to compare.
要比较的第二个类型为 T 的对象。The second object of type T to compare.
返回
如果指定的对象相等,则为 true;否则为 false。true if the specified objects are equal; otherwise, false.
实现
适用于
Equals(Handle, Handle)
确定指定的对象是否相等。Determines whether the specified objects are equal.
public:
virtual bool Equals(System::Reflection::Metadata::Handle x, System::Reflection::Metadata::Handle y);
public bool Equals (System.Reflection.Metadata.Handle x, System.Reflection.Metadata.Handle y);
override this.Equals : System.Reflection.Metadata.Handle * System.Reflection.Metadata.Handle -> bool
Public Function Equals (x As Handle, y As Handle) As Boolean
参数
- x
- Handle
要比较的第一个类型为 T 的对象。The first object of type T to compare.
- y
- Handle
要比较的第二个类型为 T 的对象。The second object of type T to compare.
返回
如果指定的对象相等,则为 true;否则为 false。true if the specified objects are equal; otherwise, false.