MethodExpression.IgnoreIfNotFound Property

.NET Framework (current version)
 

Gets or sets a value that indicates whether the expression should be ignored.

Namespace:   System.Web.UI.WebControls.Expressions
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

member IgnoreIfNotFound : bool with get, set

Property Value

Type: System.Boolean

true if the expression is ignored; otherwise, false.

The MethodExpression object searches for a method that contains the query by looking in specific locations and searching in a specific order. You can set this property to false to throw an exception if the CustomExpression object does not find a method that contains a LINQ.

.NET Framework
Available since 4.0
Return to top
Show: