共用方式為


User.Equals 方法

Indicates whether the specified user is equal to the current user.

命名空間:  Microsoft.MasterDataServices.Services.DataContracts
組件:  Microsoft.MasterDataServices.Services.Contracts (在 Microsoft.MasterDataServices.Services.Contracts.dll 中)

語法

'宣告
Public Overrides Function Equals ( _
    obj As Object _
) As Boolean
'用途
Dim instance As User 
Dim obj As Object 
Dim returnValue As Boolean 

returnValue = instance.Equals(obj)
public override bool Equals(
    Object obj
)
public:
virtual bool Equals(
    Object^ obj
) override
abstract Equals : 
        obj:Object -> bool  
override Equals : 
        obj:Object -> bool
public override function Equals(
    obj : Object
) : boolean

參數

傳回值

型別:System.Boolean
True if the specified user is equal to the current user; otherwise, false.

請參閱

參考

User 類別

Microsoft.MasterDataServices.Services.DataContracts 命名空間