CustomAttributeNamedArgument.Equals(Object) CustomAttributeNamedArgument.Equals(Object) CustomAttributeNamedArgument.Equals(Object) CustomAttributeNamedArgument.Equals(Object) Method

定義

傳回值,這個值指出此執行個體是否與指定的物件相等。Returns a value that indicates whether this instance is equal to a specified object.

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

參數

obj
Object Object Object Object

與這個執行個體相比較的物件,或 nullAn object to compare with this instance, or null.

傳回

如果 true 和這個執行個體具有相同的類型和值,則為 obj否則為 falsetrue if obj equals the type and value of this instance; otherwise, false.

適用於