idx_get()

WebHeaderCollection::idx_get(HttpRequestHeader) method

Gets the header value using the specified request’s header.

String System::Net::WebHeaderCollection::idx_get(HttpRequestHeader header)

Arguments

ParameterTypeDescription
headerHttpRequestHeaderThe header.

Return Value

The header value using the specified header.

WebHeaderCollection::idx_get(HttpResponseHeader) method

Gets the header value using the specified response’s header.

String System::Net::WebHeaderCollection::idx_get(HttpResponseHeader header)

Arguments

ParameterTypeDescription
headerHttpResponseHeaderThe header.

Return Value

The header value using the specified header.

WebHeaderCollection::idx_get(String) method

Gets the header value using the specified header name.

String System::Net::WebHeaderCollection::idx_get(String name)

Arguments

ParameterTypeDescription
nameStringThe header name.

Return Value

The header value using the specified header name.

See Also