AFAnalysisRule.IsModelAnalysisRuleAttribute Class
- Last UpdatedNov 18, 2025
- 3 minute read
- PI System
- AF SDK 2024 R2
- Developer
Attribute used on an AFAnalysisRule to indicate that it only
supports an analysis on an AFModel target.
Inheritance Hierarchy
SystemObject
SystemAttribute
OSIsoft.AF.AnalysisAFAnalysisRuleIsModelAnalysisRuleAttribute
SystemAttribute
OSIsoft.AF.AnalysisAFAnalysisRuleIsModelAnalysisRuleAttribute
Namespace: OSIsoft.AF.Analysis
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
[AttributeUsageAttribute(AttributeTargets.Class, Inherited = true, AllowMultiple = false)] public sealed class IsModelAnalysisRuleAttribute : Attribute
<AttributeUsageAttribute(AttributeTargets.Class, Inherited := true, AllowMultiple := false)> Public NotInheritable Class IsModelAnalysisRuleAttribute Inherits Attribute Dim instance As AFAnalysisRule.IsModelAnalysisRuleAttribute
[AttributeUsageAttribute(AttributeTargets::Class, Inherited = true, AllowMultiple = false)] public ref class IsModelAnalysisRuleAttribute sealed : public Attribute
[<SealedAttribute>] [<AttributeUsageAttribute(AttributeTargets.Class, Inherited = true, AllowMultiple = false)>] type IsModelAnalysisRuleAttribute = class inherit Attribute end
The AFAnalysisRuleIsModelAnalysisRuleAttribute type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| AFAnalysisRuleIsModelAnalysisRuleAttribute |
Initializes a new instance of the AFAnalysisRuleIsModelAnalysisRuleAttribute class.
|
Properties
| Name | Description | |
|---|---|---|
| TypeId | When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.) | |
| Value |
Gets a value that indicates whether the AFAnalysisRule
only supports an analysis on an AFModel target.
|
Methods
| Name | Description | |
|---|---|---|
| Equals | Returns a value that indicates whether this instance is equal to a specified object. (Inherited from Attribute.) | |
| GetHashCode | Returns the hash code for this instance. (Inherited from Attribute.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IsDefaultAttribute | When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Inherited from Attribute.) | |
| Match | When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Inherited from Attribute.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Remarks
A plugin can be marked with this attribute on the implementation of the
AFAnalysisRule to indicate that it only supports performing an
analysis on an AFModel target. Then an application can call the
AFAnalysisRule.IsModelAnalysisRule
static method to check if a plugin has this attribute specified.