CustomAttributeTypedArgument.Equals 方法

定義

多載

Equals(Object)

指示這個執行個體和指定的物件是否相等。

Equals(CustomAttributeTypedArgument)

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

Equals(Object)

來源:
CustomAttributeTypedArgument.cs
來源:
CustomAttributeTypedArgument.cs
來源:
CustomAttributeTypedArgument.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

要比較的另一個物件。

傳回

如果 true 和這個執行個體為同型別並表示相同的值,則為 obj,否則為 false

另請參閱

適用於

Equals(CustomAttributeTypedArgument)

來源:
CustomAttributeTypedArgument.cs
來源:
CustomAttributeTypedArgument.cs
來源:
CustomAttributeTypedArgument.cs

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

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

參數

other
CustomAttributeTypedArgument

要與此實例比較的實例。

傳回

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

實作

適用於