WebPartUserCapability.Equals(Object) 方法

定义

确定指定的对象是否等于当前的 WebPartUserCapability 对象或具有相同的 Name 值。Determines whether the specified object is equal to the current WebPartUserCapability object, or has the same Name value.

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

参数

o
Object

要与当前的 Object 进行比较的 WebPartUserCapabilityThe Object to compare with the current WebPartUserCapability.

返回

Boolean

如果 o 等于当前的 WebPartUserCapability 或具有相同的 Name 值,则为 true;否则为 falsetrue if o is equal to the current WebPartUserCapability or has the same Name value; otherwise, false.

适用于