Skip to main content
HttpResponseHeaderCollection.ToString | toString method

Returns a string that represents the current HttpResponseHeaderCollection object.

Syntax


var string = httpResponseHeaderCollection.toString();

public string ToString()

Public Function ToString() As String

public:
String^ ToString()

Parameters

This method has no parameters.

Return value

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

A string that represents the current object.

Requirements ( device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Web.Http.Headers
Windows::Web::Http::Headers [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Web.Http.Headers
Windows::Web::Http::Headers [C++]

Metadata

Windows.winmd

See also

HttpResponseHeaderCollection