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.
返回
如果要比较的对象等于当前的 ConfigurationElementCollection 实例,则为 true
;否则为 false
。true
if the object to compare with is equal to the current ConfigurationElementCollection instance; otherwise, false
. 默认值为 false
。The default is false
.