Click or drag to resize

DatabaseSetFilter Method

Sets the ValidateDelegate for the given name. If delegate is null, the filter with the given name is deleted. Before a Revision is replicated via a push Replication, its filter delegate is called and given a chance to exclude it from the Replication.

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 1.4.1-b107
Syntax
C#
public void SetFilter(
	string name,
	FilterDelegate filterDelegate
)

Parameters

name
Type: SystemString
The name of the filter delegate to set.
filterDelegate
Type: Couchbase.LiteFilterDelegate
The filter delegate to set.
See Also