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

AF SDK Reference

AFTimeRule.SupportsChildTimeRuleAttribute Class

  • Last UpdatedNov 18, 2025
  • 4 minute read
AFTimeRule.SupportsChildTimeRuleAttribute Class

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

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

  NameDescription
Public method
AFTimeRuleSupportsChildTimeRuleAttribute
Initializes a new instance of the AFTimeRuleSupportsChildTimeRuleAttribute 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 AFTimeRule supports child time rules to be created under it.

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 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.4
Obsolete (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

See Also

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