'Declaration<ExtensionAttribute()> <JetBrains.Annotations.NotNullAttribute()> Public Shared Function GetDevice( _ ByVal edgeNode As IEasySparkplugEdgeNode, _ ByVal deviceId As String _ ) As SparkplugDevice
'UsageDim edgeNode As IEasySparkplugEdgeNode Dim deviceId As String Dim value As SparkplugDevice value = IEasySparkplugEdgeNodeExtension.GetDevice(edgeNode, deviceId)
[Extension()] [JetBrains.Annotations.NotNull()] public static SparkplugDevice GetDevice( IEasySparkplugEdgeNode edgeNode, string deviceId )
[Extension()] [JetBrains.Annotations.NotNull()] public: static SparkplugDevice^ GetDevice( IEasySparkplugEdgeNode^ edgeNode, String^ deviceId )
Parameters
- edgeNode
- The Sparkplug edge node that will perform the operation.
The value of this parameter cannot be
null(Nothingin Visual Basic). - deviceId
- The Sparkplug device ID.
The value of this parameter cannot be
null(Nothingin Visual Basic).
Return Value
This method never returns null (Nothing in Visual Basic).