Click or drag to resize

ExtensionCollectionSetItem Method

Replaces the element at the specified index.

Namespace:  AGI.Foundation.Infrastructure
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
protected override void SetItem(
	int index,
	ObjectExtension item
)

Parameters

index
Type: SystemInt32
The index.
item
Type: AGI.Foundation.InfrastructureObjectExtension
The new element.
Exceptions
ExceptionCondition
InvalidOperationException Thrown when the adding an ObjectExtension instance to more than one ExtensibleObject.
See Also