AFFile Constructor
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
Initializes a new AFFile instance with default values that is not owned by another object.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public AFFile()
Public Sub New Dim instance As New AFFile()
public: AFFile()
new : unit -> AFFile
Remarks
The new AFFile instance represents a new file that is not associated with
an owning object.
Calling Upload Overload or
Download Overload methods will buffer the
Stream on the client and will not save to the server until
an Owner has been assigned.