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

AF SDK Reference

AFResults.Item Property (AFAttribute)

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFResults.Item Property (AFAttribute)
This property returns the specified object from the collection by AFAttribute.

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

Syntax

public AFResult this[
	AFAttribute attribute
] { get; }
Public ReadOnly Default Property Item ( 
	attribute As AFAttribute
) As AFResult
	Get

Dim instance As AFResults
Dim attribute As AFAttribute
Dim value As AFResult

value = instance(attribute)
public:
property AFResult^ default[AFAttribute^ attribute] {
	AFResult^ get (AFAttribute^ attribute);
}
member Item : AFResult with get

Parameters

attribute
Type: OSIsoft.AF.AssetAFAttribute
Specifies the collection member by AFAttribute.

Property Value

Type: AFResult

Remarks

The Item property is intended to be used to retrieve a specific object in the collection. If you want to enumerate the collection, you can use the GetEnumerator property in the standard way. With Microsoft Visual Basic and C#, this property is automatically used within For Each In constructs.

Version Information

AFSDK


See Also

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