IPEndPoint.Create メソッド
アセンブリ: System (system.dll 内)

Dim instance As IPEndPoint Dim socketAddress As SocketAddress Dim returnValue As EndPoint returnValue = instance.Create(socketAddress)
戻り値
指定したソケット アドレスを使用する EndPoint インスタンス。


指定した SocketAddress を使用して、IPEndPoint を作成する例を次に示します。
' Recreate the connection endpoint from the serialized information. Dim endpoint As New IPEndPoint(0, 0) Dim clonedIPEndPoint As IPEndPoint = CType(endpoint.Create(socketAddress), IPEndPoint) Console.WriteLine(("clonedIPEndPoint: " + clonedIPEndPoint.ToString()))
// Recreate the connection endpoint from the serialized information. IPEndPoint endpoint = new IPEndPoint(0,0); IPEndPoint clonedIPEndPoint = (IPEndPoint) endpoint.Create(socketAddress); Console.WriteLine("clonedIPEndPoint: " + clonedIPEndPoint.ToString());
// Recreate the connection endpoint from the serialized information. IPEndPoint^ endpoint = gcnew IPEndPoint( (__int64)0,0 ); IPEndPoint^ clonedIPEndPoint = dynamic_cast<IPEndPoint^>(endpoint->Create( socketAddress )); Console::WriteLine( "clonedIPEndPoint: {0}", clonedIPEndPoint );

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

- IPEndPoint.Create メソッドのページへのリンク