Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI Powershell

AddPIValue.Value Property

  • Last UpdatedDec 15, 2025
  • 2 minute read
AddPIValue.Value Property

Value or values to write

Namespace:  OSIsoft.PowerShell
Assembly:  OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 2.2.3.0 (2.2.3.952)

Syntax

[ParameterAttribute(Position = 0, Mandatory = true, ParameterSetName = "Stream")]
[ParameterAttribute(Position = 0, Mandatory = true, ParameterSetName = "PIPoint")]
[ParameterAttribute(Position = 1, Mandatory = true, ParameterSetName = "PointName")]
[ParameterAttribute(Position = 1, Mandatory = true, ParameterSetName = "PointId")]
[ValidateNotNullOrEmptyAttribute]
public Object[] Value { get; set; }
<ParameterAttribute(Position := 0, Mandatory := true, ParameterSetName := "Stream")>
<ParameterAttribute(Position := 0, Mandatory := true, ParameterSetName := "PIPoint")>
<ParameterAttribute(Position := 1, Mandatory := true, ParameterSetName := "PointName")>
<ParameterAttribute(Position := 1, Mandatory := true, ParameterSetName := "PointId")>
<ValidateNotNullOrEmptyAttribute>
Public Property Value As Object()
	Get
	Set

Dim instance As AddPIValue
Dim value As Object()

value = instance.Value

instance.Value = value
public:
[ParameterAttribute(Position = 0, Mandatory = true, ParameterSetName = L"Stream")]
[ParameterAttribute(Position = 0, Mandatory = true, ParameterSetName = L"PIPoint")]
[ParameterAttribute(Position = 1, Mandatory = true, ParameterSetName = L"PointName")]
[ParameterAttribute(Position = 1, Mandatory = true, ParameterSetName = L"PointId")]
[ValidateNotNullOrEmptyAttribute]
property array<Object^>^ Value {
	array<Object^>^ get ();
	void set (array<Object^>^ value);
}
[<ParameterAttribute(Position = 0, Mandatory = true, ParameterSetName = "Stream")>]
[<ParameterAttribute(Position = 0, Mandatory = true, ParameterSetName = "PIPoint")>]
[<ParameterAttribute(Position = 1, Mandatory = true, ParameterSetName = "PointName")>]
[<ParameterAttribute(Position = 1, Mandatory = true, ParameterSetName = "PointId")>]
[<ValidateNotNullOrEmptyAttribute>]
member Value : Object[] with get, set

Property Value

Type: Object

See Also

In This Topic
TitleResults for “How to create a CRG?”Also Available in