AFVariableMappingData Constructor (PIPoint, Boolean)
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Create a mapping to a PIPoint.
Namespace: OSIsoft.AF.Analysis
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFVariableMappingData( PIPoint piPoint, bool mapRelative )
Public Sub New ( piPoint As PIPoint, mapRelative As Boolean ) Dim piPoint As PIPoint Dim mapRelative As Boolean Dim instance As New AFVariableMappingData(piPoint, mapRelative)
public: AFVariableMappingData( PIPoint^ piPoint, bool mapRelative )
new : piPoint : PIPoint * mapRelative : bool -> AFVariableMappingData
Parameters
- piPoint
- Type: OSIsoft.AF.PIPIPoint
The PIPoint to map to. - mapRelative
- Type: SystemBoolean
If true, save only the tag name so the tag can resolve against a different PIServer.