HttpWorkerRequest.GetKnownRequestHeaderName(Int32) 方法

定义

返回指定的 HTTP 请求标头的名称。Returns the name of the specified HTTP request header.

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

参数

index
Int32

标头的索引号。The index number of the header.

返回

index 参数中指定的 HTTP 请求标头的名称。The name of the HTTP request header specified in the index parameter.

适用于