ConfigurationElementCollection.Equals(Object) 方法

定义

ConfigurationElementCollection 与指定的对象进行比较。Compares the ConfigurationElementCollection 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

要比较的对象。The object to compare.

返回

如果要比较的对象等于当前的 true 实例,则为 ConfigurationElementCollection;否则为 falsetrue if the object to compare with is equal to the current ConfigurationElementCollection instance; otherwise, false. 默认值为 falseThe default is false.

适用于