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

AF SDK Reference

AFFile Constructor

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFFile Constructor
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.

Version Information

AFSDK


See Also

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