AFAttributeTrait.IsAllowedOnRootAttribute Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Indicates if the trait is allowed on a root AFAttribute.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public bool IsAllowedOnRootAttribute { get; }
Public ReadOnly Property IsAllowedOnRootAttribute As Boolean Get Dim instance As AFAttributeTrait Dim value As Boolean value = instance.IsAllowedOnRootAttribute
public: property bool IsAllowedOnRootAttribute { bool get (); }
member IsAllowedOnRootAttribute : bool with get
Property Value
Type: BooleanReturns if the trait is allowed on a root AFAttribute.
Remarks
When searching for a trait with this behavior, the full hierarchy of attributes
will be searched instead of just the child attributes. If this behavior is set along with
AllowDuplicates set to , then duplicates are not
allowed in the full hierarchy of attributes, not just child attributes.