IPAddress.Address プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > IPAddress.Address プロパティの意味・解説 

IPAddress.Address プロパティ

メモ : このプロパティは、互換性のために残されています。

インターネット プロトコル (IP) アドレス

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

<ObsoleteAttribute("This property has been deprecated. It is
 address family dependent. Please use IPAddress.Equals method to perform comparisons.
 http://go.microsoft.com/fwlink/?linkid=14202")> _
Public Property Address As
 Long
Dim instance As IPAddress
Dim value As Long

value = instance.Address

instance.Address = value
[ObsoleteAttribute("This property has been deprecated. It is address family
 dependent. Please use IPAddress.Equals method to perform comparisons. http://go.microsoft.com/fwlink/?linkid=14202")]
 
public long Address { get; set;
 }
[ObsoleteAttribute(L"This property has been deprecated. It is address family
 dependent. Please use IPAddress.Equals method to perform comparisons. http://go.microsoft.com/fwlink/?linkid=14202")]
 
public:
property long long Address {
    long long get ();
    void set (long long value);
}
/** @property */
public long get_Address ()

/** @property */
public void set_Address (long value)

プロパティ
IP アドレスlong 値。

解説解説
使用例使用例

Address パラメータ使用してIPAddress インスタンスIP アドレス取得する例を次に示します

Public Sub PrintAddress(IpAddressString As
 [String])
    ' Creates an instance of the IPAddress' for the specified IP string
 in dotted-quad notation.
    Dim hostIPAddress As IPAddress = IPAddress.Parse(IpAddressString)
    Console.WriteLine(ControlChars.Cr + "The IP address '"
 + IpAddressString + "' is {0}", hostIPAddress.ToString())
End Sub 'PrintAddressFamily

public void PrintAddress(String IpAddressString)
{
  // Creates an instance of the IPAddress for the specified IP string
 in 
  // dotted-quad notation. 
  IPAddress hostIPAddress = IPAddress.Parse(IpAddressString);
  Console.WriteLine("\nThe IP address '" + IpAddressString + "' is
 {0}", hostIPAddress.ToString()); 
}
void PrintAddress( String^ IpAddressString )
{
   // Creates an instance of the IPAddress for the specified IP String*
 in
   // dotted-quad notation.
   IPAddress^ hostIPAddress = IPAddress::Parse( IpAddressString );
   Console::WriteLine( "\nInteger value of IP address {0} is {1}", IpAddressString,
 hostIPAddress->Address );
}
public void PrintAddress(String ipAddressString)
{
    // Creates an instance of the IPAddress for the specified IP string
 in 
    // dotted-quad notation. 
    IPAddress hostIPAddress = IPAddress.Parse(ipAddressString);

    Console.WriteLine("\nThe IP address '" 
        + ipAddressString + "' is {0}", hostIPAddress.ToString());
} //PrintAddress
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照


このページでは「.NET Framework クラス ライブラリ リファレンス」からIPAddress.Address プロパティを検索した結果を表示しています。
Weblioに収録されているすべての辞書からIPAddress.Address プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からIPAddress.Address プロパティ を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「IPAddress.Address プロパティ」の関連用語

IPAddress.Address プロパティのお隣キーワード
検索ランキング

   

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



IPAddress.Address プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS