OPC Studio User's Guide and Reference
IsSwitch Property (_DataField)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.DataTypeModel.ComTypes Namespace > _DataField Interface : IsSwitch Property
Determines whether the field acts as a switch for some other field.
Syntax
'Declaration
 
Property IsSwitch As Boolean
'Usage
 
Dim instance As _DataField
Dim value As Boolean
 
instance.IsSwitch = value
 
value = instance.IsSwitch
bool IsSwitch {get; set;}
property bool IsSwitch {
   bool get();
   void set (    bool value);
}

Property Value

The default value of this property is False.

Remarks

This member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.

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