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

AF SDK Reference

AFAttribute Constructor (PIPoint)

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFAttribute Constructor (PIPoint)
Dynamically create an AFAttribute that is not associated with an AFBaseElement and has an AFDataReference configured from the specified PIPoint.

Namespace:  OSIsoft.AF.Asset
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public AFAttribute(
	PIPoint piPoint
)
Public Sub New ( 
	piPoint As PIPoint
)

Dim piPoint As PIPoint

Dim instance As New AFAttribute(piPoint)
public:
AFAttribute(
	PIPoint^ piPoint
)
new : 
        piPoint : PIPoint -> AFAttribute

Parameters

piPoint
Type: OSIsoft.AF.PIPIPoint
The PIPoint used to configure the dynamic attribute.

Remarks

The dynamically created AFAttribute is not associated with an AFBaseElement. A dynamically created AFAttribute cannot be persisted to the server.

The AFDataReference is configured using the specified PIPoint with default settings. Additional configuration settings can be modified by updating the attribute's ConfigString.

Version Information

AFSDK


See Also

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