GXDN: Gurux Developer Network
AccessMode Enumeration
NamespacesGurux.DeviceAccessMode
Determines the access mode of a GXProperty.
Members
Member Description
ReadWrite
Both read and write accesses are allowed. Integer value=3.
If not using .NET Framework, use constant GX_ACCESS_READWRITE.

Write
Only write access is allowed. Integer value=2.
If not using .NET Framework, use constant GX_ACCESS_WRITE

Read
Only read access is allowed. Integer value=1.
If not using .NET Framework, use constant GX_ACCESS_READ.

Notify
The device sends notifies to this GXProperty, and otherwise it is not accessible. Integer value=4.
If not using .NET Framework, use constant GX_ACCESS_NOTIFY.

Denied
The GXProperty value is not accessible at all. Integer value=0.
If not using .NET Framework, use constant GX_ACCESS_NOT_ACCESSIBLE.

Remarks
If not using .NET Framework, enumeration is GX_ACCESS_MODE.
Examples
CopyC#
If (GXProperty1.AccessMode = GX_ACCESS_READ Or GXProperty1.AccessMode = GX_ACCESS_READWRITE) Then
    'Reading is possible
Else
    'Reading is not possible
End If
See Also

Assembly: Gurux.Device (Module: Gurux.Device) Version: 5.0.0.1