Gets or sets the offset of this DigitalDefinitionBase.
Declaration Syntax
C# | Visual Basic | Visual C++ |
[EditorBrowsableAttribute(EditorBrowsableState.Never)] public override sealed double Offset { get; set; }
<EditorBrowsableAttribute(EditorBrowsableState.Never)> _ Public Overrides NotOverridable Property Offset As Double Get Set
[EditorBrowsableAttribute(EditorBrowsableState::Never)] public: virtual property double Offset { double get () override sealed; void set (double value) override sealed; }
Remarks
Offset for digital values will always be 0; assigning a value other than 0 will thrown an exception.
Exceptions
Exception | Condition |
---|---|
NotImplementedException | Digital values represent bit flags and thus do not support an offset. |