Επεξεργασία

Κοινή χρήση μέσω


IPAddress.Address Property

Definition

Caution

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

Caution

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

Caution

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

Caution

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

Caution

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

An Internet Protocol (IP) address.

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

Property Value

The long value of the IP address.

Attributes

Exceptions

The address family is InterNetworkV6.

Remarks

This property is obsolete. Use GetAddressBytes.

To convert Address to dotted-quad notation, use the ToString method.

Applies to