AddAFUnitOfMeasure.ToFormula Property
- Last UpdatedDec 15, 2025
- 2 minute read
Formula used to convert reference AF UOM to AF UOM to add
Note that formula UOMs have limitations as well as performance impact. Simple UOMs with reference factors and reference offsets should be used instead whenever possible.
Namespace: OSIsoft.PowerShell
Assembly: OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 3.1.1.0 (3.1.1.466)
Syntax
[ParameterAttribute(Position = 4, Mandatory = false, ValueFromPipeline = false, ParameterSetName = "Formula", HelpMessage = "Unit of Measure Reference To Formula")] public string ToFormula { get; set; }
<ParameterAttribute(Position := 4, Mandatory := false, ValueFromPipeline := false, ParameterSetName := "Formula", HelpMessage := "Unit of Measure Reference To Formula")> Public Property ToFormula As String Get Set Dim instance As AddAFUnitOfMeasure Dim value As String value = instance.ToFormula instance.ToFormula = value
public: [ParameterAttribute(Position = 4, Mandatory = false, ValueFromPipeline = false, ParameterSetName = L"Formula", HelpMessage = L"Unit of Measure Reference To Formula")] property String^ ToFormula { String^ get (); void set (String^ value); }
[<ParameterAttribute(Position = 4, Mandatory = false, ValueFromPipeline = false, ParameterSetName = "Formula", HelpMessage = "Unit of Measure Reference To Formula")>] member ToFormula : string with get, set