AFAnalysis.CaseTemplate Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
The AFElementTemplate that is used when creating a new AFCase
using one of the AddCase Overload methods.
Namespace: OSIsoft.AF.Analysis
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFElementTemplate CaseTemplate { get; set; }
Public Property CaseTemplate As AFElementTemplate Get Set Dim instance As AFAnalysis Dim value As AFElementTemplate value = instance.CaseTemplate instance.CaseTemplate = value
public: property AFElementTemplate^ CaseTemplate { AFElementTemplate^ get (); void set (AFElementTemplate^ value); }
member CaseTemplate : AFElementTemplate with get, set
Property Value
Type: AFElementTemplateReturns the AFElementTemplate that is used when creating a new AFCase using one of the AddCase Overload methods.
Remarks
If this analysis was created from an AFAnalysisTemplate, then the value of this property will be obtained from the template's CaseTemplate property unless modified to be different in this analysis.
The case template must have its InstanceType set to AFCase. If , then the case is created without a template and properties normally defined by the template will be defined by the case instead.