AFTimeRule.HasChildren Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Note: This API is now obsolete.
This read-only property returns if the time rule has child time rules.
Namespace: OSIsoft.AF.Time
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
[BrowsableAttribute(false)] [ObsoleteAttribute("Child TimeRules are not supported.")] public bool HasChildren { get; }
<BrowsableAttribute(false)> <ObsoleteAttribute("Child TimeRules are not supported.")> Public ReadOnly Property HasChildren As Boolean Get Dim instance As AFTimeRule Dim value As Boolean value = instance.HasChildren
public: [BrowsableAttribute(false)] [ObsoleteAttribute(L"Child TimeRules are not supported.")] property bool HasChildren { bool get (); }
[<BrowsableAttribute(false)>] [<ObsoleteAttribute("Child TimeRules are not supported.")>] member HasChildren : bool with get
Property Value
Type: BooleanReturns if the time rule has child time rules.
Remarks
This method provides a more performant way of checking for child time rules of this time rule
other than using the AFTimeRules collection.
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