ItemChange.GetFilterChange Method

Gets information that indicates whether this change causes the item to move into or out of a specified filter.

Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in microsoft.synchronization.dll)

Syntax

'Declaration
Public Sub GetFilterChange ( _
    filterKey As UInteger, _
    <OutAttribute> ByRef filterTrackingStatus As FilterTrackingStatus, _
    <OutAttribute> ByRef filterChange As FilterChange _
)
'Usage
Dim instance As ItemChange
Dim filterKey As UInteger
Dim filterTrackingStatus As FilterTrackingStatus
Dim filterChange As FilterChange

instance.GetFilterChange(filterKey, filterTrackingStatus, filterChange)
public void GetFilterChange (
    uint filterKey,
    out FilterTrackingStatus filterTrackingStatus,
    out FilterChange filterChange
)
public:
void GetFilterChange (
    unsigned int filterKey, 
    [OutAttribute] FilterTrackingStatus% filterTrackingStatus, 
    [OutAttribute] FilterChange^% filterChange
)
public void GetFilterChange (
    UInt32 filterKey, 
    /** @attribute OutAttribute() */ /** @ref */ FilterTrackingStatus filterTrackingStatus, 
    /** @attribute OutAttribute() */ /** @ref */ FilterChange filterChange
)
JScript does not support passing value-type arguments by reference.

Parameters

  • filterKey
    The key of the filter to look up.
  • filterTrackingStatus
    Returns a value that indicates whether the provider that sent this change is tracking the specified filter.
  • filterChange
    Returns information that indicates whether this change causes the item to move into or out of the specified filter.

Exceptions

Exception type Condition

ArgumentOutOfRangeException

filterKey is an invalid value.

Remarks

A change can cause an item to move into or out of a filter. For example, items contain a state field, and a filter excludes any item with its state field equal to "Washington". When an item with state equal to "Washington" changes so that state equals "Oregon", the item moves into the filter.

See Also

Reference

ItemChange Class
ItemChange Members
Microsoft.Synchronization Namespace