HttpWorkerRequest.GetKnownRequestHeader(Int32) 方法

定义

返回对应于指定索引的标准 HTTP 请求标头。Returns the standard HTTP request header that corresponds to the specified index.

public:
 virtual System::String ^ GetKnownRequestHeader(int index);
public virtual string GetKnownRequestHeader (int index);
abstract member GetKnownRequestHeader : int -> string
override this.GetKnownRequestHeader : int -> string
Public Overridable Function GetKnownRequestHeader (index As Integer) As String

参数

index
Int32

标头的索引。The index of the header. 例如,HeaderAllow 字段。For example, the HeaderAllow field.

返回

HTTP 请求标头。The HTTP request header.

适用于