Namespace: Lextm.SharpSnmpLibAssembly: SharpSnmpLib (in SharpSnmpLib.dll) Version: 12.5.7-2+Branch.master.Sha.2a75ece2c9d55c4f731f356d1512c8a5d19fa096.2a75ece2c9d55c4f731f356d1512c8a5d19fa096
Syntaxpublic static IPAddress ToIPAddress(
this IP ip
)
<ExtensionAttribute>
Public Shared Function ToIPAddress (
ip As IP
) As IPAddress
Dim ip As IP
Dim returnValue As IPAddress
returnValue = ip.ToIPAddress()
public:
[ExtensionAttribute]
static IPAddress^ ToIPAddress(
IP^ ip
)
[<ExtensionAttribute>]
static member ToIPAddress :
ip : IP -> IPAddress
Parameters
- ip IP
- The IP object.
Return Value
IPAddressThe
IPAddress object.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IP. 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