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

AF SDK Reference

AFAnalysisRule.IsModelAnalysisRuleAttribute Class

  • Last UpdatedNov 18, 2025
  • 3 minute read
AFAnalysisRule.IsModelAnalysisRuleAttribute Class
Attribute used on an AFAnalysisRule to indicate that it only supports an analysis on an AFModel target.

Inheritance Hierarchy

SystemObject
  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

  NameDescription
Public method
AFAnalysisRuleIsModelAnalysisRuleAttribute
Initializes a new instance of the AFAnalysisRuleIsModelAnalysisRuleAttribute class.

Properties

  NameDescription
Public property
TypeId
When implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute.)
Public property
Value
Gets a value that indicates whether the AFAnalysisRule only supports an analysis on an AFModel target.

Methods

  NameDescription
Public method
Equals
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.)
Public method
GetHashCode
Returns the hash code for this instance.
(Inherited from Attribute.)
Public method
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method
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.)
Public method
Match
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute.)
Public method
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.

Version Information

AFSDK


See Also

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