BuildProvider.Equals(Object) 方法

定义

确定指定的生成提供程序对象是否等于当前的对象。Determines whether the specified build provider object is equal to the current object.

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

参数

provider
Object

要与当前对象进行比较的生成提供程序对象。The build provider object to compare with the current object.

返回

Boolean

如果对象相同,则为 true;否则为 falsetrue if the objects are equal; otherwise, false.

注解

序列化程序使用此方法来确定父集合中是否已存在相同的对象,以及是否需要在不被继承时在较低级别序列化该对象。The serializer uses this method to determine whether the same object already exists in the parent collection and whether it needs to be serialized at a lower level if it is not inherited.

适用于