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

AF SDK Reference

AFDefaultDeliveryFormats.Item Property (Int32)

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFDefaultDeliveryFormats.Item Property (Int32)
Returns the item located at the passed in index.
Gets or sets the item at the specified index.

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

Syntax

public AFDeliveryFormat this[
	int index
] { get; set; }
Public Default Property Item ( 
	index As Integer
) As AFDeliveryFormat
	Get
	Set

Dim instance As AFDefaultDeliveryFormats
Dim index As Integer
Dim value As AFDeliveryFormat

value = instance(index)

instance(index) = value
public:
virtual property AFDeliveryFormat^ default[int index] {
	AFDeliveryFormat^ get (int index) sealed;
	void set (int index, AFDeliveryFormat^ value) sealed;
}
abstract Item : AFDeliveryFormat with get, set
override Item : AFDeliveryFormat with get, set

Parameters

index
Type: SystemInt32
The zero-based index of the item to get or set.

Property Value

Type: AFDeliveryFormat
The item at the specified index.

Implements

IListTItemInt32

Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionindex is less than zero or is equal to or greater than Count.
NotSupportedException The collection is read-only when attempting to set the item.
ArgumentNullException The value was when attempting to set the item.

Remarks

The collection does not accept as a valid value and does allow duplicate items.

This property provides the ability to access a specific item in the collection by using the following syntax: myCollection[index].

Retrieving the value of this property is an O(1) operation; setting the property is also an O(1) operation.

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0, 2.10.11, 2.10.5, 2.10.0, 2.10, 2.9.5, 2.9, 2.8.5, 2.8

See Also

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