'DeclarationPublic Function New( _ ByVal readParameters As DAReadParameters, _ ByVal valueOnly As Boolean _ )
'UsageDim readParameters As DAReadParameters Dim valueOnly As Boolean Dim instance As New DAItemPointReadParameters(readParameters, valueOnly)
public DAItemPointReadParameters( DAReadParameters readParameters, bool valueOnly )
public: DAItemPointReadParameters( DAReadParameters^ readParameters, bool valueOnly )
Parameters
- readParameters
- The read parameters to use.
Because the OpcLabs.EasyOpc.DataAccess.DAReadParameters has an implicit conversion from System.Int32 and OpcLabs.EasyOpc.DataAccess.DADataSource, in languages that support implicit conversion operators (such as C# or VB.NET), you can simply use an integer (representing the value age in milliseconds), or an element of the OpcLabs.EasyOpc.DataAccess.DADataSource enumeration in place of this parameter, and the corresponding OPC DA read parameters object will be constructed automatically. When the implicit conversion operators are not supported (such as with Python.NET), you can use the OpcLabs.EasyOpc.DataAccess.DAReadParameters.DAReadParameters Constructor(Int32) or OpcLabs.EasyOpc.DataAccess.DAReadParameters.DAReadParameters Constructor(DADataSource) constructor instead.
The value of this parameter cannot be
null(Nothingin Visual Basic). - valueOnly
- Determines whether only the value part will be read; error if the value is not available.