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

AF SDK Reference

AFTimeRuleEvent Constructor (AFTime)

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFTimeRuleEvent Constructor (AFTime)
Initializes a new instance of the class with the specified values.
Initializes a new instance of a time rule event with the specified start time.

Namespace:  OSIsoft.AF.Time
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public AFTimeRuleEvent(
	AFTime startTime
)
Public Sub New ( 
	startTime As AFTime
)

Dim startTime As AFTime

Dim instance As New AFTimeRuleEvent(startTime)
public:
AFTimeRuleEvent(
	AFTime startTime
)
new : 
        startTime : AFTime -> AFTimeRuleEvent

Parameters

startTime
Type: OSIsoft.AF.TimeAFTime
The specified start time to initialize the new time rule event.

Remarks

The instance of the class created using this constructor does not belong to any collection. To add the object to a collection, use the collection's Add method.

Version Information

AFSDK


See Also

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