AFTimeRule.SupportsChildTimeRuleAttribute Class
- Last UpdatedNov 18, 2025
- 4 minute read
- PI System
- AF SDK 2024 R2
- Developer
Note: This API is now obsolete.
Attribute used on an AFTimeRule to indicate that it supports
child time rules to be created under it.
Inheritance Hierarchy
SystemObject
SystemAttribute
OSIsoft.AF.TimeAFTimeRuleSupportsChildTimeRuleAttribute
SystemAttribute
OSIsoft.AF.TimeAFTimeRuleSupportsChildTimeRuleAttribute
Namespace: OSIsoft.AF.Time
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
[AttributeUsageAttribute(AttributeTargets.Class, Inherited = true, AllowMultiple = false)] [BrowsableAttribute(false)] [ObsoleteAttribute("Child TimeRules are not supported.")] public sealed class SupportsChildTimeRuleAttribute : Attribute
<AttributeUsageAttribute(AttributeTargets.Class, Inherited := true, AllowMultiple := false)> <BrowsableAttribute(false)> <ObsoleteAttribute("Child TimeRules are not supported.")> Public NotInheritable Class SupportsChildTimeRuleAttribute Inherits Attribute Dim instance As AFTimeRule.SupportsChildTimeRuleAttribute
[AttributeUsageAttribute(AttributeTargets::Class, Inherited = true, AllowMultiple = false)] [BrowsableAttribute(false)] [ObsoleteAttribute(L"Child TimeRules are not supported.")] public ref class SupportsChildTimeRuleAttribute sealed : public Attribute
[<SealedAttribute>] [<AttributeUsageAttribute(AttributeTargets.Class, Inherited = true, AllowMultiple = false)>] [<BrowsableAttribute(false)>] [<ObsoleteAttribute("Child TimeRules are not supported.")>] type SupportsChildTimeRuleAttribute = class inherit Attribute end
The AFTimeRuleSupportsChildTimeRuleAttribute type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| AFTimeRuleSupportsChildTimeRuleAttribute |
Initializes a new instance of the AFTimeRuleSupportsChildTimeRuleAttribute 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 AFTimeRule
supports child time rules to be created under it.
|
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
AFTimeRule to indicate that it supports adding child time rules.
Then an application can call the
AFTimeRule.SupportsChildTimeRule
static method to check if a plugin has this attribute specified.
Version Information
AFSDK
Supported in: 2.5, 2.4Obsolete (compiler warning) in 3.1.1
Obsolete (compiler warning) in 3.1.0
Obsolete (compiler warning) in 3.0.2
Obsolete (compiler warning) in 3.0.1
Obsolete (compiler warning) in 3.0.0
Obsolete (compiler warning) in 2.10.11
Obsolete (compiler warning) in 2.10.5
Obsolete (compiler warning) in 2.10.0
Obsolete (compiler warning) in 2.10
Obsolete (compiler warning) in 2.9.5
Obsolete (compiler warning) in 2.9
Obsolete (compiler warning) in 2.8.5
Obsolete (compiler warning) in 2.8
Obsolete (compiler warning) in 2.7.5
Obsolete (compiler warning) in 2.7
Obsolete (compiler warning) in 2.6