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

AF SDK Reference

AFAttribute.Parent Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFAttribute.Parent Property
This read-only property returns the AFAttribute that is the parent of this attribute.

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

Syntax

public AFAttribute Parent { get; }
Public ReadOnly Property Parent As AFAttribute
	Get

Dim instance As AFAttribute
Dim value As AFAttribute

value = instance.Parent
public:
property AFAttribute^ Parent {
	AFAttribute^ get ();
}
member Parent : AFAttribute with get

Property Value

Type: AFAttribute
Returns the AFAttribute that is the parent of this attribute. If the attribute is not contained within another attribute, for example an attribute accessed directly from the AFBaseElement object, then this property will return .

Remarks

Use the Element property to get direct access to the owning element of this attribute, regardless of how deep the attribute may be within the attribute hierarchy.

Version Information

AFSDK


See Also

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