AFAttributeTrait.FindAttributeTrait Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Finds the AFAttributeTrait from the specified name.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static AFAttributeTrait FindAttributeTrait( string name )
Public Shared Function FindAttributeTrait ( name As String ) As AFAttributeTrait Dim name As String Dim returnValue As AFAttributeTrait returnValue = AFAttributeTrait.FindAttributeTrait(name)
public: static AFAttributeTrait^ FindAttributeTrait( String^ name )
static member FindAttributeTrait : name : string -> AFAttributeTrait
Parameters
- name
- Type: SystemString
The Name or Abbreviation of the desired AFAttributeTrait.
Return Value
Type: AFAttributeTraitReturns the AFAttributeTrait whose Name or Abbreviation match the specified name parameter.