Version

GetFilter Method (ColumnFilters)

Returns the ColumnFilter object whose ColumnFilter.ColumnKey matches the given key.
Syntax
'Declaration
 
Public Function GetFilter( _
   ByVal key As String _
) As ColumnFilter
public ColumnFilter GetFilter( 
   string key
)

Parameters

key
The key of a ControlDataField which a ColumnFilter is tied to.

Return Value

ColumnFilter whose ColumnFilter.ColumnKey matched the given key. If a ColumnFilter with the given key is not found null is returned.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, 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