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.

适用于