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
public static int GetKnownRequestHeaderIndex(
 string header
public: static int GetKnownRequestHeaderIndex(
 String* header
public static function GetKnownRequestHeaderIndex(
   header : String
) : int;


The name of the header.

Return Value

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


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

See Also

HttpWorkerRequest Class | HttpWorkerRequest Members | System.Web Namespace