Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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

© 2015 Microsoft