'Declaration
Public Function New( _ ByVal itemDescriptor As DAItemDescriptor _ )
'Usage
Dim itemDescriptor As DAItemDescriptor Dim instance As New DAItemDescriptor(itemDescriptor)
public DAItemDescriptor( DAItemDescriptor itemDescriptor )
public: DAItemDescriptor( DAItemDescriptor^ itemDescriptor )
Parameters
- itemDescriptor
- An item descriptor object to be copied from.
Because the DAItemDescriptor 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 item descriptor will be constructed automatically. When the implicit conversion operators are not supported (such as with Python.NET), you can use the FromString or FromDANodeElement static method instead.
The value of this parameter cannot be
null
(Nothing
in Visual Basic).