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

PI Powershell

AddPIDigitalStateToStateSet.DigitalStates Property

  • Last UpdatedDec 15, 2025
  • 2 minute read
AddPIDigitalStateToStateSet.DigitalStates Property

Digital states to add

Namespace:  OSIsoft.PowerShell
Assembly:  OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 3.1.1.0 (3.1.1.466)

Syntax

[ParameterAttribute(Position = 1, Mandatory = true, HelpMessage = "PI digital states to add")]
[ValidateNotNullOrEmptyAttribute]
public string[] DigitalStates { get; set; }
<ParameterAttribute(Position := 1, Mandatory := true, HelpMessage := "PI digital states to add")>
<ValidateNotNullOrEmptyAttribute>
Public Property DigitalStates As String()
	Get
	Set

Dim instance As AddPIDigitalStateToStateSet
Dim value As String()

value = instance.DigitalStates

instance.DigitalStates = value
public:
[ParameterAttribute(Position = 1, Mandatory = true, HelpMessage = L"PI digital states to add")]
[ValidateNotNullOrEmptyAttribute]
property array<String^>^ DigitalStates {
	array<String^>^ get ();
	void set (array<String^>^ value);
}
[<ParameterAttribute(Position = 1, Mandatory = true, HelpMessage = "PI digital states to add")>]
[<ValidateNotNullOrEmptyAttribute>]
member DigitalStates : string[] with get, set

Property Value

Type: String

See Also

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