Export (0) Print
Expand All

Cookie Constructor ()

.NET Framework 1.1

Initializes a new instance of the Cookie class.

[Visual Basic]
Public Sub New()
[C#]
public Cookie();
[C++]
public: Cookie();
[JScript]
public function Cookie();

Remarks

The default constructor initializes all fields to their default values, using empty strings ("") for name, value, path, and domain. Note that at least the Name property must be initialized before using an instance of the Cookie class.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Cookie Class | Cookie Members | System.Net Namespace | Cookie Constructor Overload List

Show:
© 2014 Microsoft