OPC Studio User's Guide and Reference
PutProperty Method



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.DataAccess.Extensions Namespace > DAItemPropertyRecord Class : PutProperty Method
The Id of OPC property to be modified.
The new value of OPC property.
Modified a property value in this structure, for an OPC property specified by its Id.
Syntax
'Declaration
 
Public Overridable Sub PutProperty( _
   ByVal propertyId As DAPropertyId, _
   ByVal value As Object _
) 
'Usage
 
Dim instance As DAItemPropertyRecord
Dim propertyId As DAPropertyId
Dim value As Object
 
instance.PutProperty(propertyId, value)
public virtual void PutProperty( 
   DAPropertyId propertyId,
   object value
)
public:
virtual void PutProperty( 
   DAPropertyId^ propertyId,
   Object^ value
) 

Parameters

propertyId
The Id of OPC property to be modified.
value
The new value of OPC property.
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