Uredi

Deli z drugimi prek


SocketAddress.Family Property

Definition

Gets the AddressFamily enumerated value of the current SocketAddress.

public:
 property System::Net::Sockets::AddressFamily Family { System::Net::Sockets::AddressFamily get(); };
public System.Net.Sockets.AddressFamily Family { get; }
member this.Family : System.Net.Sockets.AddressFamily
Public ReadOnly Property Family As AddressFamily

Property Value

One of the AddressFamily enumerated values.

Remarks

This method gets the AddressFamily enumerated value that represents the addressing scheme of the current SocketAddress. If you want to view the corresponding string representation of AddressFamily, use the ToString method.

Applies to

See also