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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om