Поделиться через


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.

Внимание!

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

Внимание!

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("IPAddress.Address is address family dependent and has been deprecated. Use IPAddress.Equals to perform comparisons instead.")]
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("IPAddress.Address is address family dependent and has been deprecated. Use IPAddress.Equals to perform comparisons instead.")>]
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

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

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

Атрибуты

Исключения

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

Комментарии

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

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

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