DataPagerFieldCollection.Contains Method (DataPagerField)

 

Determines whether the DataPagerFieldCollection collection contains the specified DataPagerField object.

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

member Contains : 
        field:DataPagerField -> bool

Parameters

field
Type: System.Web.UI.WebControls.DataPagerField

The object to locate in the DataControlFieldCollection collection.

Return Value

Type: System.Boolean

true if the DataPagerFieldCollection collection contains the specified field; otherwise, false.

.NET Framework
Available since 3.5
Return to top
Show: