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

AF SDK Reference

AFAttribute.HasChildren Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFAttribute.HasChildren Property
This read-only property returns if the attribute has child attributes.

Namespace:  OSIsoft.AF.Asset
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public bool HasChildren { get; }
Public ReadOnly Property HasChildren As Boolean
	Get

Dim instance As AFAttribute
Dim value As Boolean

value = instance.HasChildren
public:
virtual property bool HasChildren {
	bool get () sealed;
}
abstract HasChildren : bool with get
override HasChildren : bool with get

Property Value

Type: Boolean
Returns if the attribute has child attributes.

Implements

IAFAttributeHasChildren

Remarks

This method provides a more performant way of checking for child attributes of this attribute other than using the AFAttributes collection.

Version Information

AFSDK


See Also

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