AFVariableMappingData Constructor (AFAttribute, AFObject)
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Create a mapping to a target relative attribute
Namespace: OSIsoft.AF.Analysis
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFVariableMappingData( AFAttribute attribute, AFObject target )
Public Sub New ( attribute As AFAttribute, target As AFObject ) Dim attribute As AFAttribute Dim target As AFObject Dim instance As New AFVariableMappingData(attribute, target)
public: AFVariableMappingData( AFAttribute^ attribute, AFObject^ target )
new : attribute : AFAttribute * target : AFObject -> AFVariableMappingData
Parameters
- attribute
- Type: OSIsoft.AF.AssetAFAttribute
An attribute to use to create a relative path. - target
- Type: OSIsoft.AFAFObject
The element that should resolve the relative path to the attribute specified.