CustomAttributeNamedArgument.Equals 方法

定义

重载

Equals(Object)

返回一个值,该值指示此实例是否与指定的对象相等。

Equals(CustomAttributeNamedArgument)

指示当前实例是否等于同一类型的另一个实例。

Equals(Object)

Source:
CustomAttributeNamedArgument.cs
Source:
CustomAttributeNamedArgument.cs
Source:
CustomAttributeNamedArgument.cs

返回一个值,该值指示此实例是否与指定的对象相等。

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object? obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

参数

obj
Object

与此实例进行比较的对象,或为 null

返回

如果 true 等于此实例的类型和值,则为 obj;否则为 false

适用于

Equals(CustomAttributeNamedArgument)

Source:
CustomAttributeNamedArgument.cs
Source:
CustomAttributeNamedArgument.cs
Source:
CustomAttributeNamedArgument.cs

指示当前实例是否等于同一类型的另一个实例。

public:
 virtual bool Equals(System::Reflection::CustomAttributeNamedArgument other);
public bool Equals (System.Reflection.CustomAttributeNamedArgument other);
override this.Equals : System.Reflection.CustomAttributeNamedArgument -> bool
Public Function Equals (other As CustomAttributeNamedArgument) As Boolean

参数

other
CustomAttributeNamedArgument

要与该实例进行比较的实例。

返回

true 如果当前实例等于另一个实例,则为 ;否则为 false

实现

适用于