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

PI Powershell

SetAFAttribute.Value Property

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

Value of AF Attribute to 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, ParameterSetName = "Value", 
	HelpMessage = "New AF Attribute value")]
[ValidateNotNullOrEmptyAttribute]
public Object Value { get; set; }
<ParameterAttribute(Position := 2, Mandatory := false, ParameterSetName := "Value", 
	HelpMessage := "New AF Attribute value")>
<ValidateNotNullOrEmptyAttribute>
Public Property Value As Object
	Get
	Set

Dim instance As SetAFAttribute
Dim value As Object

value = instance.Value

instance.Value = value
public:
[ParameterAttribute(Position = 2, Mandatory = false, ParameterSetName = L"Value", 
	HelpMessage = L"New AF Attribute value")]
[ValidateNotNullOrEmptyAttribute]
property Object^ Value {
	Object^ get ();
	void set (Object^ value);
}
[<ParameterAttribute(Position = 2, Mandatory = false, ParameterSetName = "Value", 
	HelpMessage = "New AF Attribute value")>]
[<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