This documentation is archived and is not being maintained.

HttpWorkerRequest.GetKnownRequestHeaderIndex Method

Returns the index number of the specified HTTP request header.

[Visual Basic]
Public Shared Function GetKnownRequestHeaderIndex( _
   ByVal header As String _
) As Integer
[C#]
public static int GetKnownRequestHeaderIndex(
 string header
);
[C++]
public: static int GetKnownRequestHeaderIndex(
 String* header
);
[JScript]
public static function GetKnownRequestHeaderIndex(
   header : String
) : int;

Parameters

header
The name of the header.

Return Value

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

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

HttpWorkerRequest Class | HttpWorkerRequest Members | System.Web Namespace

Show: