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

AF SDK Reference

AFAttributeTrait.IsAllowedOnRootAttribute Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFAttributeTrait.IsAllowedOnRootAttribute Property
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: Boolean
Returns 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.

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0, 2.10.11, 2.10.5, 2.10.0, 2.10, 2.9.5, 2.9, 2.8.5, 2.8

See Also

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