CustomAttributeNamedArgument.Equals 方法

定義

多載

Equals(Object)

傳回值,這個值指出此執行個體是否與指定的物件相等。

Equals(CustomAttributeNamedArgument)

指出目前的實例是否等於相同類型的另一個實例。

Equals(Object)

傳回值,這個值指出此執行個體是否與指定的物件相等。

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

傳回

Boolean

如果 true 和這個執行個體具有相同的類型和值,則為 obj否則為 false

適用於

Equals(CustomAttributeNamedArgument)

指出目前的實例是否等於相同類型的另一個實例。

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

要與此實例比較的實例。

傳回

Boolean

true 如果目前的實例等於其他實例,則為 ;否則為 false

實作

適用於