New to Telerik UI for ASP.NET MVC? Download free 30-day trial

PivotDataSourceFilterStringDescriptorBuilder

Methods

StartsWith(System.String)

Includes only values which are starting with the given string.

Parameters

value - System.String

The string with which the result should start

Example


            .Filter(f => f.Add("[Geography].[City]").StartsWith(" Foo"))

EndsWith(System.String)

Includes only values which end with the given string.

Parameters

value - System.String

The string with which the result should end

Example


            .Filter(f => f.Add("[Geography].[City]").EndsWith(" Foo"))

Contains(System.String)

Includes only values which contain the given string.

Parameters

value - System.String

The string which the result should contain

Example


            .Filter(f => f.Add("[Geography].[City]").Contains(" Foo"))

DoesNotContain(System.String)

Includes only values which does not contain the given string.

Parameters

value - System.String

The string which the result should not contain

Example


            .Filter(f => f.Add("[Geography].[City]").DoesNotContain("Foo"))

IsEqualTo(System.String)

Includes only values which are equal to the given string.

Parameters

value - System.String

The string which the result should not contain

Example


             .Filter(f => f.Add("[Geography].[City]").IsEqualTo("Foo"))

IsNotEqualTo(System.String)

Includes only values which are notequal to the given string.

Parameters

value - System.String

The string which the result should not contain

Example


             .Filter(f => f.Add("[Geography].[City]").IsNotEqualTo("Foo"))

In(System.String)

Parameters

value - System.String
In this article
Not finding the help you need?