Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SocketAddress.Family Property

Gets the AddressFamily enumerated value of the current SocketAddress.

[Visual Basic]
Public ReadOnly Property Family As AddressFamily
[C#]
public AddressFamily Family {get;}
[C++]
public: __property AddressFamily get_Family();
[JScript]
public function get Family() : AddressFamily;

Property Value

One of the AddressFamily enumerated values.

Remarks

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

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

SocketAddress Class | SocketAddress Members | System.Net Namespace | AddressFamily

Show:
© 2015 Microsoft