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

AF SDK Reference

AFAnalysisTemplate.CaseTemplate Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFAnalysisTemplate.CaseTemplate Property
The AFElementTemplate that is used when creating a new AFCase using one of the AFAnalysis.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 AFAnalysisTemplate
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: AFElementTemplate
Returns the AFElementTemplate that is used when creating a new AFCase using one of the AFAnalysis.AddCase Overload methods.

Remarks

An AFAnalysis created from this analysis template will have the value specified by the template for its CaseTemplate property unless modified. Changing this template value will update all analyses created from this template unless it was modified in the analysis to be different than the template value.

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.

Version Information

AFSDK


See Also

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