![]() |
IOLink C# 1.11.0
|
Extension to handle units of columns in a dataframe. More...
Public Member Functions | |
| ColumnUnitExtension (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| virtual string | Unit (uint columnIndex) |
| virtual void | SetUnit (uint columnIndex, string unit) |
Public Member Functions inherited from IOLink.Extension | |
| Extension (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| void | Dispose () |
Static Public Member Functions | |
| static global::System.Runtime.InteropServices.HandleRef | getCPtr (ColumnUnitExtension obj) |
| static ColumnUnitExtension | Cast (Extension extension) |
Static Public Member Functions inherited from IOLink.Extension | |
| static global::System.Runtime.InteropServices.HandleRef | getCPtr (Extension obj) |
Static Public Attributes | |
| static readonly uint | EXTENSION_ID = IOLinkPINVOKE.ColumnUnitExtension_EXTENSION_ID_get() |
Protected Member Functions | |
| override void | Dispose (bool disposing) |
Extension to handle units of columns in a dataframe.
This extension allows to get and set the unit of a column in a dataframe.
The unit is an UTF-8 encoded string that describes the unit of the column, in a format described as follows:
^ character, followed by an integer number. this number may be prefixed by a sign, + or -./ or . character, to form a compound unit. For example, "m/s" for meters per second.Examples of such units:
|
inlinestatic |
Upcast a generic extension to this specific type.
| extension | The extension to cast. |
|
inlineprotectedvirtual |
Reimplemented from IOLink.Extension.
|
inlinevirtual |
Set the unit of the column.
| columnIndex | The index of the column. |
| unit | The unit of the column. |
| Error | if the column index is out of range. |
| Error | if DataFrameView does not have the WRITE capability. |
|
inlinevirtual |
Return the unit of the column.
| columnIndex | The index of the column. |
| Error | if the column index is out of range. |