CookieParameter Constructor (String, DbType, String)

 

Initializes a new instance of the CookieParameter class that has the specified name and database type and that is bound to the specified HTTP cookie.

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

public CookieParameter(
	string name,
	DbType dbType,
	string cookieName
)

Parameters

name
Type: System.String

The name of the parameter.

dbType
Type: System.Data.DbType

The database type that the parameter represents.

cookieName
Type: System.String

The name of the HTTP cookie that the parameter object is bound to. The default is Empty.

.NET Framework
Available since 2.0
Return to top
Show: