Edit

Share via


RuleCollection.Item[Int32] Property

Definition

Gets the rule at the specified index in the collection.

public:
 property Microsoft::Exchange::WebServices::Data::Rule ^ default[int] { Microsoft::Exchange::WebServices::Data::Rule ^ get(int index); };
public Microsoft.Exchange.WebServices.Data.Rule this[int index] { get; }
Default Public ReadOnly Property Item(index As Integer) As Rule

Parameters

index
Int32

The zero-based index of the rule to get.

Property Value

The rule at the specified index in the collection.

Remarks

The Item[Int32] property enables you to retrieve a specific Rule object in the collection. If you want to enumerate the collection, you can use the GetEnumerator() method in the standard way.

Applies to