System::Net::WebHeaderCollection::idx_get method

WebHeaderCollection::idx_get(HttpRequestHeader) method

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

String System::Net::WebHeaderCollection::idx_get(HttpRequestHeader header)
ParameterTypeDescription
headerHttpRequestHeaderThe header.

ReturnValue

The header value using the specified header.

See Also

WebHeaderCollection::idx_get(HttpResponseHeader) method

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

String System::Net::WebHeaderCollection::idx_get(HttpResponseHeader header)
ParameterTypeDescription
headerHttpResponseHeaderThe header.

ReturnValue

The header value using the specified header.

See Also

WebHeaderCollection::idx_get(String) method

Gets the header value using the specified header name.

String System::Net::WebHeaderCollection::idx_get(String name)
ParameterTypeDescription
nameStringThe header name.

ReturnValue

The header value using the specified header name.

See Also