AFCsvColumns.FindCsvColumnsByIdentity Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Find the AFCsvColumn objects in the collection with the specified AFIdentity.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFCsvColumns FindCsvColumnsByIdentity( AFIdentity identity )
Public Function FindCsvColumnsByIdentity ( identity As AFIdentity ) As AFCsvColumns Dim instance As AFCsvColumns Dim identity As AFIdentity Dim returnValue As AFCsvColumns returnValue = instance.FindCsvColumnsByIdentity(identity)
public: AFCsvColumns^ FindCsvColumnsByIdentity( AFIdentity identity )
member FindCsvColumnsByIdentity : identity : AFIdentity -> AFCsvColumns
Parameters
- identity
- Type: OSIsoft.AFAFIdentity
The identity is the numeric identity of the object whose CSV columns are to be retrieved. The values of the numeric identities are defined by the AFIdentity enumeration. For example, if the collection contains CSV columns for AFElement, AFAttribute, and AFPort objects and only CSV columns for AFAttribute objects are desired, call this method with Attribute being passed as the identity parameter.
Return Value
Type: AFCsvColumnsThe method returns another AFCsvColumns collection containing only those AFCsvColumn objects whose object identities match the identity parameter.
Remarks
For example, to retrieve the CSV column objects for AFAttribute objects,
pass Attribute as the value of identity parameter.