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

AF SDK Reference

AFEventFrame Constructor (AFDatabase)

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFEventFrame Constructor (AFDatabase)
Initializes a new instance of the class with default values.

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

Syntax

public AFEventFrame(
	AFDatabase database
)
Public Sub New ( 
	database As AFDatabase
)

Dim database As AFDatabase

Dim instance As New AFEventFrame(database)
public:
AFEventFrame(
	AFDatabase^ database
)
new : 
        database : AFDatabase -> AFEventFrame

Parameters

database
Type: OSIsoft.AFAFDatabase
The new AFEventFrame is added to the specified AFDatabase.

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