Export (0) Print
Expand All
Expand Minimize

HttpWorkerRequest.GetKnownRequestHeader Method

Returns the standard HTTP request header that corresponds to the specified index.

[Visual Basic]
Public Overridable Function GetKnownRequestHeader( _
   ByVal index As Integer _
) As String
[C#]
public virtual string GetKnownRequestHeader(
 int index
);
[C++]
public: virtual String* GetKnownRequestHeader(
 int index
);
[JScript]
public function GetKnownRequestHeader(
   index : int
) : String;

Parameters

index
The index of the header. For example, the HeaderAllow field.

Return Value

The HTTP request header.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

HttpWorkerRequest Class | HttpWorkerRequest Members | System.Web Namespace

Show:
© 2014 Microsoft