Share via


_ViewFields.Item Property

Returns a ViewField 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 ViewField
    Get
'Usage
Dim instance As _ViewFields
Dim Index As Object
Dim value As ViewField

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

Parameters

  • Index
    Type: System.Object

    The value can be a one-based integer that indexes an ViewField object in the ViewFields collection, a string that matches the ViewXMLSchemaName property value of an ViewField object in the collection, or a field name as displayed in the Field Chooser.

Property Value

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

See Also

Reference

_ViewFields Interface

_ViewFields Members

Microsoft.Office.Interop.Outlook Namespace