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

AF SDK Reference

AFElementTemplate.BaseTemplateOnly Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFElementTemplate.BaseTemplateOnly Property
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: Boolean
If , then instances of this AFBaseElement object cannot be created from this template. If , instances of this AFBaseElement objects can be created from this template.

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

See Also

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