FilterKeyMap.AddFilter Method

Adds a filter to the map.

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

Syntax

'Declaration
Public Function AddFilter ( _
    syncFilter As ISyncFilter _
) As UInteger
'Usage
Dim instance As FilterKeyMap
Dim syncFilter As ISyncFilter
Dim returnValue As UInteger

returnValue = instance.AddFilter(syncFilter)
public uint AddFilter (
    ISyncFilter syncFilter
)
public:
unsigned int AddFilter (
    ISyncFilter^ syncFilter
)
public UInt32 AddFilter (
    ISyncFilter syncFilter
)
public function AddFilter (
    syncFilter : ISyncFilter
) : uint

Parameters

  • syncFilter
    The filter to add to the map.

Return Value

The filter key of the newly added filter.

Remarks

When a new filter is added to the filter key map, the map automatically allocates more memory and resizes itself, if it is necessary.

See Also

Reference

FilterKeyMap Class
FilterKeyMap Members
Microsoft.Synchronization Namespace