OPC Studio User's Guide and Reference
Default Property (DAAccessRight)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.DataAccess Namespace > DAAccessRight Class : Default Property
Default access rights.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Shared ReadOnly Property Default As DAAccessRight
'Usage
 
Dim value As DAAccessRight
 
value = DAAccessRight.Default
[NotNull()]
public static DAAccessRight Default {get;}
[NotNull()]
public:
static property DAAccessRight^ Default {
   DAAccessRight^ get();
}

Property Value

The value of this property cannot be null (Nothing in Visual Basic).

Because there is an implicit conversion from DAAccessRight to System.Int64 and DAAccessRights, in languages that support implicit conversion operators (such as C# or VB.NET), you can simply use the return value in place of a System.Int64 (representing the numerical value of the access rights), or in place a DAAccessRights enumeration value. When the implicit conversion operators are not supported (such as with Python.NET), you can use the ToInt64 or ToDAAccessRights 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