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

AF SDK Reference

IAFList Interface

  • Last UpdatedNov 18, 2025
  • 5 minute read
IAFList Interface
An interface implemented by all collections in the AF SDK.

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

Syntax

public interface IAFList : IList, 
	ICollection, IEnumerable
Public Interface IAFList
	Inherits IList, ICollection, IEnumerable

Dim instance As IAFList
public interface class IAFList : IList, 
	ICollection, IEnumerable
type IAFList =  
    interface
        interface IList
        interface ICollection
        interface IEnumerable
    end

The IAFList type exposes the following members.

Properties

  NameDescription
Public property
Count
Gets the number of elements contained in the ICollection.
(Inherited from ICollection.)
Public property
Database
This read-only property returns the AFDatabase where this object is defined.
Public property
Identity
This read-only property contains identity of the object.
Public property
IsDeleted
This read-only property indicates whether the owner of the collection has been deleted.
Public property
IsFixedSize
Gets a value indicating whether the IList has a fixed size.
(Inherited from IList.)
Public property
IsPaging
This read-only property indicates whether the collection is currently paging its items.
Public property
IsReadOnly
Gets a value indicating whether the IList is read-only.
(Inherited from IList.)
Public property
IsSynchronized
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
(Inherited from ICollection.)
Public property
ItemInt32
Gets or sets the element at the specified index.
(Inherited from IList.)
Public property
ItemGuid
Gets the item with the specified id.
Public property
ItemString
Returns the specified object from the collection by name.
Public property
ItemIdentity
This read-only property specifies the identity of the objects within the collection.
Public property
PageSize
The number of items that are loaded from the server into a page of the collection.
Public property
Parent
The parent AFObject that owns the collection.
Public property
PISystem
This read-only property allows access to the PISystem associated with this collection.
Public property
SupportsPaging
This read-only property indicates whether the collection supports paging.
Public property
SyncRoot
Gets an object that can be used to synchronize access to the ICollection.
(Inherited from ICollection.)

Methods

  NameDescription
Public method
Add
Adds an item to the IList.
(Inherited from IList.)
Public method
Clear
Removes all items from the IList.
(Inherited from IList.)
Public method
Contains(Object)
Determines whether the IList contains a specific value.
(Inherited from IList.)
Public method
Contains(Guid)
This method determines whether the collection contains a specific item referenced by id.
Public method
Contains(String)
This method determines whether the collection contains a specific item referenced by name.
Public method
CopyTo
Copies the elements of the ICollection to an Array, starting at a particular Array index.
(Inherited from ICollection.)
Public method
GetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from IEnumerable.)
Public method
IndexOf
Determines the index of a specific item in the IList.
(Inherited from IList.)
Public method
Insert
Inserts an item to the IList at the specified index.
(Inherited from IList.)
Public method
Remove
Removes the first occurrence of a specific object from the IList.
(Inherited from IList.)
Public method
RemoveAt
Removes the IList item at the specified index.
(Inherited from IList.)
Public method
Sort
Sorts the items in the entire collection using the default comparer.
Public method
Sort(IComparer)
Sorts the items in the entire collection using the specified comparer.
Public method
Sort(Int32, Int32, IComparer)
Sorts the items in a range of items in the collection using the specified comparer.

Remarks

This interface provides a way to access common functionality in all AF SDK collections in the SDK without having to know the type of the objects within the collection.

Version Information

AFSDK


See Also

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