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

AF SDK Reference

AFCsvColumns.Contains Method (String)

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFCsvColumns.Contains Method (String)
This method determines whether the collection contains a specific item referenced by name.

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

Syntax

public bool Contains(
	string name
)
Public Function Contains ( 
	name As String
) As Boolean

Dim instance As AFCsvColumns
Dim name As String
Dim returnValue As Boolean

returnValue = instance.Contains(name)
public:
bool Contains(
	String^ name
)
member Contains : 
        name : string -> bool 

Parameters

name
Type: SystemString
The name of the item to locate in the collection.

Return Value

Type: Boolean
Returns if the item was found in the collection; otherwise, is returned.

Exceptions

ExceptionCondition
ArgumentNullException The name parameter is .

Remarks

This method approaches an O(1) operation.

Version Information

AFSDK


See Also

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