ParameterCollection.Contains Method (Parameter)

 

Determines whether the ParameterCollection collection contains a specific value

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

public bool Contains(
	Parameter parameter
)

Parameters

parameter
Type: System.Web.UI.WebControls.Parameter

The Parameter to locate in the ParameterCollection.

Return Value

Type: System.Boolean

true if the object is found in the ParameterCollection; otherwise, false. If null is passed for the value parameter, false is returned.

Use this method to determine whether a specified Parameter object is in the ParameterCollection collection.

.NET Framework
Available since 2.0
Return to top
Show: