SyncGroup.op_Equality 方法
确定两个指定的 SyncGroup 对象是否相等。
命名空间: Microsoft.Synchronization.Data
程序集: Microsoft.Synchronization.Data(在 microsoft.synchronization.data.dll 中)
语法
声明
Public Shared Operator = ( _
syncGroup1 As SyncGroup, _
syncGroup2 As SyncGroup _
) As Boolean
用法
Dim syncGroup1 As SyncGroup
Dim syncGroup2 As SyncGroup
Dim returnValue As Boolean
returnValue = (syncGroup1 = syncGroup2)
public static bool operator == (
SyncGroup syncGroup1,
SyncGroup syncGroup2
)
public:
static bool operator == (
SyncGroup^ syncGroup1,
SyncGroup^ syncGroup2
)
J# does not support overloaded operators.
JScript supports the use of overloaded operators, but not the declaration of new ones.
参数
- syncGroup1
- syncGroup2
返回值
如果 sg1 和 sg2 引用同一个 SyncGroup 对象,则为 true;否则为 false。
请参阅
参考
SyncGroup 类
SyncGroup 成员
Microsoft.Synchronization.Data 命名空间