EndPointExtensionGetSocket Method |
Namespace:
Lextm.SharpSnmpLib.Messaging
Assembly:
SharpSnmpLib (in SharpSnmpLib.dll) Version: 12.4.0+601762d0e653a71ebb69af963204dfbfb6c26b74
Syntax public static Socket GetSocket(
this EndPoint endpoint
)
<ExtensionAttribute>
Public Shared Function GetSocket (
endpoint As EndPoint
) As Socket
public:
[ExtensionAttribute]
static Socket^ GetSocket(
EndPoint^ endpoint
)
[<ExtensionAttribute>]
static member GetSocket :
endpoint : EndPoint -> Socket
Parameters
- endpoint
- Type: System.NetEndPoint
Return Value
Type:
SocketUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
EndPoint. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also