Uri.UriSchemeHttp フィールドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > Uri.UriSchemeHttp フィールドの意味・解説 

Uri.UriSchemeHttp フィールド

HTTP (Hypertext Transfer Protocol) 経由で URI にアクセスすることを指定します。このフィールドは読み取り専用です。

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

Public Shared ReadOnly UriSchemeHttp
 As String
Dim value As String

value = Uri.UriSchemeHttp
public:
static initonly String^ UriSchemeHttp
public static final String UriSchemeHttp
使用例使用例

Uri インスタンスを作成し、スキームが UriSchemeHttp であるかどうかを判断する例を次に示します。

Dim address1 As New Uri("http://www.contoso.com/index.htm#search")
Console.WriteLine("address 1 {0} a valid scheme name",
 IIf(Uri.CheckSchemeName(address1.Scheme), " has",
 " does not have")) 'TODO: For performance reasons this should be changed to nested IF statements

If address1.Scheme = Uri.UriSchemeHttp Then
    Console.WriteLine("Uri is HTTP type")
End If 
Console.WriteLine(address1.HostNameType)
Uri address1 = new Uri("http://www.contoso.com/index.htm#search");
Console.WriteLine("address 1 {0} a valid scheme name",
      Uri.CheckSchemeName(address1.Scheme) ? " has" : " does not have");

if (address1.Scheme == Uri.UriSchemeHttp)
    Console.WriteLine("Uri is HTTP type");
      
Console.WriteLine(address1.HostNameType);
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

「Uri.UriSchemeHttp フィールド」の関連用語

Uri.UriSchemeHttp フィールドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



Uri.UriSchemeHttp フィールドのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS