HttpWorkerRequest.GetKnownResponseHeaderIndex(String) メソッド

定義

指定した HTTP 応答ヘッダーのインデックス番号を返します。

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

パラメーター

header
String

HTTP ヘッダーの名前。

戻り値

Int32

header パラメーターで指定した HTTP 応答ヘッダーのインデックス番号。

適用対象