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.

適用於