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

PI Powershell

SetAFElement.DefaultAttribute Property

  • Last UpdatedDec 15, 2025
  • 2 minute read
SetAFElement.DefaultAttribute Property

Default AF Attribute for the AF Element

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

Syntax

[ParameterAttribute(Position = 3, Mandatory = false, HelpMessage = "New AF Element Template Attriubte")]
[ValidateNotNullOrEmptyAttribute]
public AFAttribute DefaultAttribute { get; set; }
<ParameterAttribute(Position := 3, Mandatory := false, HelpMessage := "New AF Element Template Attriubte")>
<ValidateNotNullOrEmptyAttribute>
Public Property DefaultAttribute As AFAttribute
	Get
	Set

Dim instance As SetAFElement
Dim value As AFAttribute

value = instance.DefaultAttribute

instance.DefaultAttribute = value
public:
[ParameterAttribute(Position = 3, Mandatory = false, HelpMessage = L"New AF Element Template Attriubte")]
[ValidateNotNullOrEmptyAttribute]
property AFAttribute^ DefaultAttribute {
	AFAttribute^ get ();
	void set (AFAttribute^ value);
}
[<ParameterAttribute(Position = 3, Mandatory = false, HelpMessage = "New AF Element Template Attriubte")>]
[<ValidateNotNullOrEmptyAttribute>]
member DefaultAttribute : AFAttribute with get, set

Property Value

Type: AFAttribute

See Also

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