asp.net.ph

HttpCookieCollection Class

System.Web Namespace


Provides a type-safe way to manipulate HTTP cookies.

HttpCookieCollection Class Members

Collapse   Constructors

Visibility Constructor Parameters
public HttpCookieCollection ( )

Collapse   Properties

Visibility Name Value Type Accessibility
public AllKeys String [ Get ]
public Item ( String name ) HttpCookie [ Get ]
public Item ( Int32 index ) HttpCookie [ Get ]

Collapse   Methods

Visibility Name Parameters Return Type
public Add ( HttpCookie cookie ) Void
public Clear ( ) Void
public CopyTo ( Array dest , Int32 index ) Void
public Get ( Int32 index ) HttpCookie
public Get ( String name ) HttpCookie
public GetKey ( Int32 index ) String
public Remove ( String name ) Void
public Set ( HttpCookie cookie ) Void

Syntax


To call a method:

HttpCookieCollection.methodName ( arguments );
  C# VB

To return the value of a property or method:

Type var = HttpCookieCollection.propertyName;
Type var = HttpCookieCollection [ key ];
Type var = HttpCookieCollection.methodName ( arguments );
  C# VB

Skip Navigation Links



Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph