ISyncFilter::IsIdentical Method
When overridden in a derived class, indicates whether the specified filter is the same as this filter.
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Parameters
- otherFilter
- Type: Microsoft.Synchronization::ISyncFilter
A filter to compare with this filter.
Return Value
Type: System::Booleantrue when otherFilter is the same as this filter. Otherwise, false.
The following example checks whether the filter is identical to the other filter by checking whether the filter data is equal to the data of the other filter.
Public Function IsIdentical(ByVal otherFilter As ISyncFilter) As Boolean Implements ISyncFilter.IsIdentical Return _filter.Equals(DirectCast(otherFilter, AddressFilter).Filter) End Function
public bool IsIdentical(ISyncFilter otherFilter) { return _filter.Equals(((AddressFilter)otherFilter).Filter); }
Show: