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

AF SDK Reference

PISystem.GetCsvColumns Method (Type, IList(Type))

  • Last UpdatedNov 18, 2025
  • 2 minute read
PISystem.GetCsvColumns Method (Type, IList(Type))
Retrieve a collection containing the required and optional CSV columns for the specified object type and its children.

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

Syntax

public AFCsvColumns GetCsvColumns(
	Type objType,
	IList<Type> childObjTypes
)
Public Function GetCsvColumns ( 
	objType As Type,
	childObjTypes As IList(Of Type)
) As AFCsvColumns

Dim instance As PISystem
Dim objType As Type
Dim childObjTypes As IList(Of Type)
Dim returnValue As AFCsvColumns

returnValue = instance.GetCsvColumns(objType, 
	childObjTypes)
public:
AFCsvColumns^ GetCsvColumns(
	Type^ objType, 
	IList<Type^>^ childObjTypes
)
member GetCsvColumns : 
        objType : Type * 
        childObjTypes : IList<Type> -> AFCsvColumns 

Parameters

objType
Type: SystemType
The type of AF object whose columns are to be retrieved and returned.
childObjTypes
Type: System.Collections.GenericIListType
A list of the types of child objects to be included. If null, all child object types will be returned. If non-null, but the list is empty, only the types for the specified object type will be returned.

Return Value

Type: AFCsvColumns
A collection of all available CSV columns for the specified object type.

Version Information

AFSDK


See Also

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