'Declaration
<CanBeNullAttribute()> Public Shared Function FromDANodeDescriptor( _ ByVal nodeDescriptor As DANodeDescriptor _ ) As DAItemDescriptor
'Usage
Dim nodeDescriptor As DANodeDescriptor Dim value As DAItemDescriptor value = DAItemDescriptor.FromDANodeDescriptor(nodeDescriptor)
[CanBeNull()] public static DAItemDescriptor FromDANodeDescriptor( DANodeDescriptor nodeDescriptor )
[CanBeNull()] public: static DAItemDescriptor^ FromDANodeDescriptor( DANodeDescriptor^ nodeDescriptor )
Parameters
- nodeDescriptor
- Contains node descriptor.
Because the DANodeDescriptor has an implicit conversion from System.String and OpcLabs.EasyOpc.DataAccess.AddressSpace.DANodeElement, in languages that support implicit conversion operators (such as C# or VB.NET), you can simply use a string (representing the qualified name of the node), or a OpcLabs.EasyOpc.DataAccess.AddressSpace.DANodeElement object (result from OPC browsing), in place of this parameter, and the corresponding OPC DA node descriptor will be constructed automatically. When the implicit conversion operators are not supported (such as with Python.NET), you can use the DANodeDescriptor.FromString or DANodeDescriptor.FromDANodeElement static method instead.
The value of this parameter can be
null
(Nothing
in Visual Basic).
Return Value
This method can return null
(Nothing
in Visual Basic).