AFPathToken.NameIsPreferred Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
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.