AFFile Constructor
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- 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.1.1.1182
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.