AddPIDigitalStateToStateSet.InsertAtIndex Property
- Last UpdatedDec 15, 2025
- 2 minute read
Index at which the new PI Digital State should be added
If InsertAtIndex is not specified, then the states are appended to the end of the PI Digital State Set
Namespace: OSIsoft.PowerShell
Assembly: OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 3.1.1.0 (3.1.1.466)
Syntax
[ParameterAttribute(Position = 2, Mandatory = false, HelpMessage = "Insert new digital states at")] [ValidateNotNullOrEmptyAttribute] public int InsertAtIndex { get; set; }
<ParameterAttribute(Position := 2, Mandatory := false, HelpMessage := "Insert new digital states at")> <ValidateNotNullOrEmptyAttribute> Public Property InsertAtIndex As Integer Get Set Dim instance As AddPIDigitalStateToStateSet Dim value As Integer value = instance.InsertAtIndex instance.InsertAtIndex = value
public: [ParameterAttribute(Position = 2, Mandatory = false, HelpMessage = L"Insert new digital states at")] [ValidateNotNullOrEmptyAttribute] property int InsertAtIndex { int get (); void set (int value); }
[<ParameterAttribute(Position = 2, Mandatory = false, HelpMessage = "Insert new digital states at")>] [<ValidateNotNullOrEmptyAttribute>] member InsertAtIndex : int with get, set