This documentation is archived and is not being maintained.

HttpWorkerRequest.GetKnownResponseHeaderIndex Method

Returns the index number of the specified HTTP response header.

[Visual Basic]
Public Shared Function GetKnownResponseHeaderIndex( _
   ByVal header As String _
) As Integer
public static int GetKnownResponseHeaderIndex(
 string header
public: static int GetKnownResponseHeaderIndex(
 String* header
public static function GetKnownResponseHeaderIndex(
   header : String
) : int;


The name of the HTTP header.

Return Value

The index number of the HTTP response 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