Share via


SubscriptionEventCollection.Item(Int32)

Retrieves or sets the member of the collection at the specified index.

public ISubscriptionEvent this[
  Int32 index
] {get; set;}
Public Property Item( _
  ByVal index As Int32 _
) As ISubscriptionEvent

Parameters

  • index
    Zero-based index of the member to retrieve or set.

Exceptions

Exception type Condition
System.ArgumentException The subscription event already exists in this collection.
System.ArgumentNullException A member of the collection cannot be set to null.
System.ArgumentOutOfRangeException index cannot be less than zero or greater than SubscriptionEventCollection.Count.

Remarks

This property is an indexer in C#.

Requirements

Server Requires Windows Server 2003 or Windows 2000 Server SP4 and later.
Namespace

Defined in Microsoft.UpdateServices.Administration.

Assembly

Requires Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll).

.NET Framework

Requires .NET Framework 1.1.