HttpWorkerRequest::GetKnownRequestHeaderIndex Method (String^)

 

Returns the index number of the specified HTTP request header.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public:
static int GetKnownRequestHeaderIndex(
	String^ header
)

Parameters

header
Type: System::String^

The name of the header.

Return Value

Type: System::Int32

The index number of the HTTP request header specified in the header parameter.

.NET Framework
Available since 1.1
Return to top
Show: