OPC Studio User's Guide and Reference
DAAccessRight Constructor(Boolean,Boolean)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.DataAccess Namespace > DAAccessRight Class > DAAccessRight Constructor : DAAccessRight Constructor(Boolean,Boolean)
The Readable indicator.
The Writable indicator.
Initializes a new instance of the class to the value indicated by individual access rights flags.
Syntax
'Declaration
 
Public Function New( _
   ByVal allowRead As Boolean, _
   ByVal allowWrite As Boolean _
)
'Usage
 
Dim allowRead As Boolean
Dim allowWrite As Boolean
 
Dim instance As New DAAccessRight(allowRead, allowWrite)
public DAAccessRight( 
   bool allowRead,
   bool allowWrite
)
public:
DAAccessRight( 
   bool allowRead,
   bool allowWrite
)

Parameters

allowRead
The Readable indicator.
allowWrite
The Writable indicator.
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