_Type.Equals _Type.Equals _Type.Equals _Type.Equals Method

定义

为 COM 对象提供对 Equals 方法的版本无关的访问。Provides COM objects with version-independent access to the Equals method.

重载

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

为 COM 对象提供对 Equals(Object) 方法的版本无关的访问。Provides COM objects with version-independent access to the Equals(Object) method.

Equals(Type) Equals(Type) Equals(Type) Equals(Type)

为 COM 对象提供对 Equals(Type) 方法的版本无关的访问。Provides COM objects with version-independent access to the Equals(Type) method.

注解

此方法用于访问托管类到从非托管代码,不应从托管代码调用。This method is for access to managed classes from unmanaged code, and should not be called from managed code.

Type.Equals方法确定当前的基础系统类型是否Type指定的基础系统类型相同ObjectTypeThe Type.Equals method determines if the underlying system type of the current Type is the same as the underlying system type of the specified Object or Type.

..

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

为 COM 对象提供对 Equals(Object) 方法的版本无关的访问。Provides COM objects with version-independent access to the Equals(Object) method.

public:
 bool Equals(System::Object ^ other);
public bool Equals (object other);
abstract member Equals : obj -> bool
Public Function Equals (other As Object) As Boolean

参数

other
Object Object Object Object

Object,其基础系统类型将与当前 Type 的基础系统类型相比较。The Object whose underlying system type is to be compared with the underlying system type of the current Type.

返回

如果 true 的基础系统类型与当前 o 的基础系统类型相同,则为 Type;否则为 falsetrue if the underlying system type of o is the same as the underlying system type of the current Type; otherwise, false.

注解

此方法用于访问托管类到从非托管代码,不应从托管代码调用。This method is for access to managed classes from unmanaged code, and should not be called from managed code.

Type.Equals方法确定当前的基础系统类型是否Type指定的基础系统类型相同ObjectThe Type.Equals method determines if the underlying system type of the current Type is the same as the underlying system type of the specified Object.

Equals(Type) Equals(Type) Equals(Type) Equals(Type)

为 COM 对象提供对 Equals(Type) 方法的版本无关的访问。Provides COM objects with version-independent access to the Equals(Type) method.

public:
 bool Equals(Type ^ o);
public bool Equals (Type o);
abstract member Equals : Type -> bool
Public Function Equals (o As Type) As Boolean

参数

o
Type Type Type Type

Type,其基础系统类型将与当前 Type 的基础系统类型相比较。The Type whose underlying system type is to be compared with the underlying system type of the current Type.

返回

如果 true 的基础系统类型与当前 o 的基础系统类型相同,则为 Type;否则为 falsetrue if the underlying system type of o is the same as the underlying system type of the current Type; otherwise, false.

注解

此方法用于访问托管类到从非托管代码,不应从托管代码调用。This method is for access to managed classes from unmanaged code, and should not be called from managed code.

Type.Equals方法确定当前的基础系统类型是否Type指定的基础系统类型相同TypeThe Type.Equals method determines if the underlying system type of the current Type is the same as the underlying system type of the specified Type.

适用于