次の方法で共有


_NavigationFolders.Item Property

Returns a NavigationFolder object from the collection.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Default Property Item ( _
    Index As Object _
) As NavigationFolder
    Get
'Usage
Dim instance As _NavigationFolders
Dim Index As Object
Dim value As NavigationFolder

value = instance(Index)
[DispIdAttribute()]
NavigationFolder this[
    Object Index
] { get; }

Parameters

  • Index
    Type: System.Object

    Either the index number of the object, or the value used to match the default property of an object in the collection.

Property Value

Type: Microsoft.Office.Interop.Outlook.NavigationFolder
A NavigationFolder object that represents the specified object.

Remarks

The index value of a NavigationFolder in the collection represents the ordinal position of the folder in the navigation group when displayed in the Navigation Pane. Changing the position of navigation folders within the navigation group also changes the index values of folders contained within the NavigationFolders collection for that NavigationGroup object.

See Also

Reference

_NavigationFolders Interface

_NavigationFolders Members

Microsoft.Office.Interop.Outlook Namespace