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

AF SDK Reference

AFDataPipeRangeDeletedEvent Constructor

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFDataPipeRangeDeletedEvent Constructor
Construct a new data pipe event indicating that a range of data was removed.

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

Syntax

public AFDataPipeRangeDeletedEvent(
	AFDataPipeAction action,
	AFValue value,
	AFTime startTime,
	AFTime endTime
)
Public Sub New ( 
	action As AFDataPipeAction,
	value As AFValue,
	startTime As AFTime,
	endTime As AFTime
)

Dim action As AFDataPipeAction
Dim value As AFValue
Dim startTime As AFTime
Dim endTime As AFTime

Dim instance As New AFDataPipeRangeDeletedEvent(action, 
	value, startTime, endTime)
public:
AFDataPipeRangeDeletedEvent(
	AFDataPipeAction action, 
	AFValue^ value, 
	AFTime startTime, 
	AFTime endTime
)
new : 
        action : AFDataPipeAction * 
        value : AFValue * 
        startTime : AFTime * 
        endTime : AFTime -> AFDataPipeRangeDeletedEvent

Parameters

action
Type: OSIsoft.AF.DataAFDataPipeAction
AFDataPipeAction of the event
value
Type: OSIsoft.AF.AssetAFValue
AFValue portion of the event. The Attribute/PIPoint property of the AFValue is used to identify the source of the AFDataPipeEvent.
startTime
Type: OSIsoft.AF.TimeAFTime
The beginning of the time range where data was removed.
endTime
Type: OSIsoft.AF.TimeAFTime
The end of the time range where data was removed.

Remarks

AFDataPipeEvent will take ownership of the passed AFValue. If an application wants to assign the same value to multiple AFDataPipeEvents for different source AFAttributes, it should make copy of the AFValue and set the Attribute property of the AFValue before calling the constructor

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0, 2.10.11, 2.10.5, 2.10.0, 2.10

See Also

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