Click or drag to resize

ICursorFilter Interface

Exposes members of CursorFilter, a base class for all filters.

Namespace:  Vovin.CmcLibNet.Database
Assembly:  Vovin.CmcLibNet (in Vovin.CmcLibNet.dll) Version: 1.0.7729.42686
Syntax
public interface ICursorFilter

The ICursorFilter type exposes the following members.

Properties
  NameDescription
Public propertyClauseNumber
Filter clause number. Should be a number between 1 and 8.
Public propertyExcept
Except flag. Set to true to create a Except (NOT) filter.
Public propertyFiltertypeIdentifier
String representing the filtertype identifier for use in a Commence DDE request.
Public propertyOrFilter
Defines AND/OR filter logic. Set to true to make filter an OR filter. Defaults to 'AND'.

The relationship applies to the next filter you set (just like in the Commence UI) so do not set to true unless you define an additional filter, otherwise your will get all items.

Keep in mind the special grouping Commence uses for filters: [[1 and/or2] and/or [3 and/or 4]] and/or [[5 and/or 6] and/or [7 and/or 8]].

Top
Methods
  NameDescription
Public methodGetViewFilterString
Convenience method mainly for COM Interop; returns ViewFilter string as you would use it in DDE syntax.
Public methodToString
Overload allowing custom formatting.
Top
See Also