Uri.SchemeDelimiter フィールド
アセンブリ: System (system.dll 内)


UriSchemeHttp、SchemeDelimiter、およびアドレスから文字列を作成する例を次に示します。この文字列から Uri インスタンスが作成されます。
Dim address As String = "www.contoso.com" Dim uriString As String = String.Format("{0}{1}{2}", Uri.UriSchemeHttp, Uri.SchemeDelimiter, address) Dim result As Uri = New Uri(uriString) If result.IsWellFormedOriginalString() = True Then Console.WriteLine("{0} is a well formed Uri", uriString) else Console.WriteLine("{0} is not a well formed Uri", uriString) End If
string address = "www.contoso.com"; string uriString = String.Format("{0}{1}{2}/", Uri.UriSchemeHttp, Uri.SchemeDelimiter, address); #if OLDMETHOD Uri result; if (Uri.TryParse(uriString, false, false, out result) == true) Console.WriteLine("{0} is a valid Uri", result.ToString()); else Console.WriteLine("Uri not created"); #endif Uri result = new Uri(uriString); if (result.IsWellFormedOriginalString()) Console.WriteLine("{0} is a well formed Uri", uriString); else Console.WriteLine("{0} is not a well formed Uri", uriString);

Windows 98, Windows 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
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からUri.SchemeDelimiter フィールドを検索する場合は、下記のリンクをクリックしてください。

- Uri.SchemeDelimiter フィールドのページへのリンク