Version

GetCrossFieldRecordFilters Method

Gets a CrossFieldRecordFilterGroup containing a logical operator and a collection of filters for the specified FieldLayout.
Syntax
'Declaration
 
Public Function GetCrossFieldRecordFilters( _
   ByVal fieldLayout As FieldLayout _
) As CrossFieldRecordFilterGroup
public CrossFieldRecordFilterGroup GetCrossFieldRecordFilters( 
   FieldLayout fieldLayout
)

Parameters

fieldLayout
The fieldLayout relating to the filters

Return Value

If the FieldLayoutSettings.RecordFilterScope is set to 'SiblingDataRecords' this method will return a CrossFieldRecordFilterGroup instance specific to this RecordManager's records. Otherwise it will return the FieldLayout's CrossFieldRecordFilters

Exceptions
ExceptionDescription
System.ArgumentNullExceptionIf fieldLayout is null.
Remarks

Note: if both CrossFieldRecordFilters and RecordFilters are specified, the CrossFieldRecordFilters will be applied first and then the RecordFilters will be applied to any records that are not filtered out.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also