AFValue Constructor (AFValue)
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This is the copy constructor which creates a new AFValue
object with the same values as the specified AFValue object.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFValue( AFValue newValue )
Public Sub New ( newValue As AFValue ) Dim newValue As AFValue Dim instance As New AFValue(newValue)
public: AFValue( AFValue^ newValue )
new : newValue : AFValue -> AFValue
Parameters
- newValue
- Type: OSIsoft.AF.AssetAFValue
The AFValue object to be copied and used to initialize the newly created AFValue object.
Remarks
The new AFValue will copy all the information from
the specified newValue except for the
Attribute value.