AFElementTemplate.BaseTemplateOnly Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This read/write property determines if instances of this AFBaseElement object
are allowed to be created. This is typically a BaseTemplate that contains some core
functionality for other derived templates.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public bool BaseTemplateOnly { get; set; }
Public Property BaseTemplateOnly As Boolean Get Set Dim instance As AFElementTemplate Dim value As Boolean value = instance.BaseTemplateOnly instance.BaseTemplateOnly = value
public: property bool BaseTemplateOnly { bool get (); void set (bool value); }
member BaseTemplateOnly : bool with get, set
Property Value
Type: BooleanIf , then instances of this AFBaseElement object cannot be created from this template. If , instances of this AFBaseElement objects can be created from this template.