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

PI Powershell

SetAFElementTemplate.DefaultAttribute Property

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

Default attribute to set on the AF Element Template

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

Syntax

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

Dim instance As SetAFElementTemplate
Dim value As AFAttributeTemplate

value = instance.DefaultAttribute

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

Property Value

Type: AFAttributeTemplate

See Also

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