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


Socket.Bind メソッドは、None フィールドを使用して、Socket がクライアントによるネットワーク利用を待機できないことを示します。None フィールドは、ピリオド区切りの 10 進表記で 255.255.255.255 に等しくなります。

None プロパティを使用して、ネットワーク インターフェイスを使用しないことを示す例を次に示します。
Public Shared Sub Main() ' Gets the IP address indicating that no network interface should be used ' and converts it to a string. Dim address As String = IPAddress.None.ToString() Console.WriteLine(("IP address : " + address)) End Sub 'Main
public static void Main() { // Gets the IP address indicating that no network interface should be used // and converts it to a string. string address = IPAddress.None.ToString(); Console.WriteLine("IP address : " + address); }
int main() { // Gets the IP address indicating that no network interface should be used // and converts it to a String*. String^ address = IPAddress::None->ToString(); Console::WriteLine( "IP address : {0}", address ); }
public static void main(String[] args) { // Gets the IP address indicating that no network interface //should be used and converts it to a string. String address = IPAddress.None.ToString(); Console.WriteLine("IP address : " + address); } //main

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に収録されているすべての辞書からIPAddress.None フィールドを検索する場合は、下記のリンクをクリックしてください。

- IPAddress.None フィールドのページへのリンク