Share via


PropertyBag.Item[Int32] Property

Definition

Gets or sets the element at the specified index location in the property bag.

public:
 property System::Object ^ default[int] { System::Object ^ get(int index); void set(int index, System::Object ^ value); };
public object this[int index] { get; set; }
member this.Item(int) : obj with get, set
Default Public Property Item(index As Integer) As Object

Parameters

index
Int32

The index of the element.

Property Value

A PropertyBag object that has the specified index.

Exceptions

index is less than 0.

Applies to