AFPathToken.NameIsPreferred Property
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public bool NameIsPreferred { get; }
Public ReadOnly Property NameIsPreferred As Boolean Get Dim instance As AFPathToken Dim value As Boolean value = instance.NameIsPreferred
public: property bool NameIsPreferred { bool get (); }
member NameIsPreferred : bool with get
Property Value
Type: BooleanIf , then the Name is preferred over the ID (or PointID if HasPointID is ) when searching for the object. Otherwise, the ID (or PointID if HasPointID is ) is preferred over the Name.