GetKnownRequestHeaderIndex Method
TOC
Collapse the table of content
Expand the table of content

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:
© 2016 Microsoft