AFAttribute.IsDataReferenceDefinedByTemplate Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This read-only property indicates if this attribute's
DataReference and ConfigString
are fully defined by the AFElementTemplate.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public bool IsDataReferenceDefinedByTemplate { get; }
Public ReadOnly Property IsDataReferenceDefinedByTemplate As Boolean Get Dim instance As AFAttribute Dim value As Boolean value = instance.IsDataReferenceDefinedByTemplate
public: property bool IsDataReferenceDefinedByTemplate { bool get (); }
member IsDataReferenceDefinedByTemplate : bool with get
Property Value
Type: BooleanReturns if the attribute has a DataReference defined and it is the same as the Template with its ConfigString fully defined by the template. If the DataReference of the AFAttributeTemplate is , then this property will always return because this attribute's DataReference is not defined by the template (the template does not have a DataReference).