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
Maklum balas
https://aka.ms/ContentUserFeedback.
Akan datang: Sepanjang 2024, kami akan menghentikan secara berperingkat Isu GitHub sebagai kaedah maklum balas untuk kandungan dan menggantikannya dengan sistem maklum balas baharu. Untuk mendapatkan maklumat lanjut lihat:Kirim dan lihat maklum balas untuk