HttpWorkerRequest.GetKnownResponseHeaderIndex(String) Method

Definition

Returns the index number of the specified HTTP response header.

public:
 static int GetKnownResponseHeaderIndex(System::String ^ header);
public static int GetKnownResponseHeaderIndex (string header);
static member GetKnownResponseHeaderIndex : string -> int
Public Shared Function GetKnownResponseHeaderIndex (header As String) As Integer

Parameters

header
String

The name of the HTTP header.

Returns

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

Applies to