_RuleConditions.Item[Int32] 属性

定义

获取指定的 RuleCondition 对象,该对象 Index 是集合中的 RuleConditions 数字索引。

public:
 property Microsoft::Office::Interop::Outlook::RuleCondition ^ default[int] { Microsoft::Office::Interop::Outlook::RuleCondition ^ get(int Index); };
public Microsoft.Office.Interop.Outlook.RuleCondition this[int Index] { get; }
Default Public ReadOnly Property Item(Index As Integer) As RuleCondition

参数

Index
Int32

基于 1 的数值反映规则条件 RuleConditions 集合中的序号位置。 例如,集合中的第一个规则条件的索引值为 1,而第二个规则条件的索引值为 2。

属性值

表示指定的对象的 RuleCondition 对象。

注解

RuleConditions 集合对象是一个固定的集合。 它包含 RuleCondition 对象或 删除 的对象。 不能在此集合中添加或删除项,但可以在集合中编制索引以枚举规则条件项,并设置 Enabled 规则条件的 属性。 使用 Item 枚举集合时,可以将 Index 1 枚举为 Count

适用于