Share via


HttpCookie.ToString Method

Definition

Returns a string that represents the current HttpCookie object.

public:
 virtual Platform::String ^ ToString() = ToString;
winrt::hstring ToString();
public string ToString();
function toString()
Public Function ToString () As String

Returns

String

Platform::String

winrt::hstring

A string that represents the current object.

Implements

Remarks

The ToString method returns a string that matches a Set-Cookie HTTP header suitable for including on a request message.

Applies to