SocketAddress.Family Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.