ConfigurationElement.Equals(Object) ConfigurationElement.Equals(Object) ConfigurationElement.Equals(Object) ConfigurationElement.Equals(Object) Method

定義

將目前的 ConfigurationElement 執行個體與指定的物件相比較。Compares the current ConfigurationElement instance to the specified object.

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

參數

compareTo
Object Object Object Object

要相比較的物件。The object to compare with.

傳回

如果要比較的物件與目前的 ConfigurationElement 執行個體相等,則為 true,否則為 falsetrue if the object to compare with is equal to the current ConfigurationElement instance; otherwise, false. 預設為 falseThe default is false.

適用於