次の方法で共有


HttpWorkerRequest.GetKnownRequestHeader メソッド

指定したインデックスに対応する標準 HTTP 要求ヘッダーを返します。

名前空間: System.Web
アセンブリ: System.Web (system.web.dll 内)

構文

'宣言
Public Overridable Function GetKnownRequestHeader ( _
    index As Integer _
) As String
'使用
Dim instance As HttpWorkerRequest
Dim index As Integer
Dim returnValue As String

returnValue = instance.GetKnownRequestHeader(index)
public virtual string GetKnownRequestHeader (
    int index
)
public:
virtual String^ GetKnownRequestHeader (
    int index
)
public String GetKnownRequestHeader (
    int index
)
public function GetKnownRequestHeader (
    index : int
) : String
適用できません。

パラメータ

  • index
    ヘッダーのインデックス。たとえば、HeaderAllow フィールドです。

戻り値

HTTP 要求ヘッダー。

プラットフォーム

Windows 98,Windows Server 2000 SP4,Windows CE,Windows Millennium Edition,Windows Mobile for Pocket PC,Windows Mobile for Smartphone,Windows Server 2003,Windows XP Media Center Edition,Windows XP Professional x64 Edition,Windows XP SP2,Windows XP Starter Edition

Microsoft .NET Framework 3.0 は Windows Vista,Microsoft Windows XP SP2,および Windows Server 2003 SP1 でサポートされています。

バージョン情報

.NET Framework

サポート対象 : 3.0,2.0,1.1,1.0

参照

関連項目

HttpWorkerRequest クラス
HttpWorkerRequest メンバ
System.Web 名前空間