IPAddress.Address Свойство

Определение

Внимание!

This property has been deprecated. It is address family dependent. Please use IPAddress.Equals method to perform comparisons. https://go.microsoft.com/fwlink/?linkid=14202

Внимание!

IPAddress.Address is address family dependent and has been deprecated. Use IPAddress.Equals to perform comparisons.

Внимание!

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

Внимание!

IPAddress.Address is address family dependant, use Equals method for comparison.

IP-адрес.

public:
 property long Address { long get(); void set(long value); };
[System.Obsolete("This property has been deprecated. It is address family dependent. Please use IPAddress.Equals method to perform comparisons. https://go.microsoft.com/fwlink/?linkid=14202")]
public long Address { get; set; }
[System.Obsolete("IPAddress.Address is address family dependent and has been deprecated. Use IPAddress.Equals to perform comparisons.")]
public long Address { get; set; }
[System.Obsolete("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; }
[System.Obsolete("IPAddress.Address is address family dependant, use Equals method for comparison.")]
public long Address { get; set; }
[<System.Obsolete("This property has been deprecated. It is address family dependent. Please use IPAddress.Equals method to perform comparisons. https://go.microsoft.com/fwlink/?linkid=14202")>]
member this.Address : int64 with get, set
[<System.Obsolete("IPAddress.Address is address family dependent and has been deprecated. Use IPAddress.Equals to perform comparisons.")>]
member this.Address : int64 with get, set
[<System.Obsolete("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")>]
member this.Address : int64 with get, set
[<System.Obsolete("IPAddress.Address is address family dependant, use Equals method for comparison.")>]
member this.Address : int64 with get, set
Public Property Address As Long

Значение свойства

Int64

Длинное целое значение IP-адреса.

Атрибуты

Исключения

Семья адресов является InterNetworkV6.

Комментарии

Это свойство устарело. Используйте ключевое слово GetAddressBytes.

Чтобы преобразовать Address в точечно-точечную нотацию, используйте ToString метод.

Применяется к