OPC Studio User's Guide and Reference
DAPropertyElement Property (OpcBrowseNodeElement)



OpcLabs.EasyOpcForms Assembly > OpcLabs.EasyOpc.Forms.Browsing Namespace > OpcBrowseNodeElement Class : DAPropertyElement Property
Contains information gathered about an OPC property.
Syntax
'Declaration
 
<DataMemberAttribute()>
Public Property DAPropertyElement As DAPropertyElement
'Usage
 
Dim instance As OpcBrowseNodeElement
Dim value As DAPropertyElement
 
instance.DAPropertyElement = value
 
value = instance.DAPropertyElement
[DataMember()]
public DAPropertyElement DAPropertyElement {get; set;}
[DataMember()]
public:
property DAPropertyElement^ DAPropertyElement {
   DAPropertyElement^ get();
   void set (    DAPropertyElement^ value);
}

Property Value

This value of this property can be null (Nothing in Visual Basic).

The default value of this property is null.

Because the OpcLabs.EasyOpc.DataAccess.AddressSpace.DAPropertyElement has an implicit conversion to System.String, in languages that support implicit conversion operators (such as C# or VB.NET), you can simply use the returned OpcLabs.EasyOpc.DataAccess.AddressSpace.DAPropertyElement in any place where System.String is expected as input, and the corresponding OPC DA property descriptor string (OpcLabs.EasyOpc.DataAccess.AddressSpace.DAPropertyElement.DescriptorString) will be taken automatically from the OPC DA property element.

Also, because there is an implicit conversion from OpcLabs.EasyOpc.DataAccess.AddressSpace.DAPropertyElement to OpcLabs.EasyOpc.DataAccess.DAPropertyDescriptor, in languages that support implicit conversion operators (such as C# or VB.NET), you can simply use the returned OpcLabs.EasyOpc.DataAccess.AddressSpace.DAPropertyElement in any place where OpcLabs.EasyOpc.DataAccess.DAPropertyDescriptor is expected as input, and the corresponding OPC DA property descriptor will be constructed automatically from the OPC DA property element. When the implicit conversion operators are not supported (such as with Python.NET), you can use the OpcLabs.EasyOpc.DataAccess.DAPropertyDescriptor.FromDAPropertyElement static method instead.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also