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 標頭的名稱。

傳回

HTTP 回應標頭的索引號在參數 header 中指定。

適用於