_Categories.Item[Object] 属性

定义

从集合中返回对象 Category

public:
 property Microsoft::Office::Interop::Outlook::Category ^ default[System::Object ^] { Microsoft::Office::Interop::Outlook::Category ^ get(System::Object ^ Index); };
public Microsoft.Office.Interop.Outlook.Category this[object Index] { get; }
Default Public ReadOnly Property Item(Index As Object) As Category

参数

Index
Object

C# 中的 整数 (int ) 表示对象的索引号的值,或者 C# 中的 String (字符串 ) 值,该值 Name 表示集合中对象的 或 CategoryID 属性值。

属性值

表示指定的对象的 类别 对象。

注解

如果在 中 Index指定了类别的名称,则此方法返回与指定值匹配的第一个 Category 对象。 如果找不到匹配项,该方法返回 Nothing (null 引用 (Visual Basic) 中为 C# )

适用于