Partager via


_Columns.Item Property

Obtains a Column object specified by Index.

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 Column
    Get
'Usage
Dim instance As _Columns
Dim Index As Object
Dim value As Column

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

Parameters

  • Index
    Type: System.Object

    A 1-based index value that can be either an Integer (int in C#) value representing the column index for the Columns collection or a String (string in C#) representing the Name of the Column.

Property Value

Type: Microsoft.Office.Interop.Outlook.Column
A Column object that represents the column matching the Index in the Table. Returns the error, "Array index out of bounds" if Index is an invalid Long integer. Returns Nothing (a null reference (Nothing in Visual Basic) in C#) if Index is a String (string in C#) representing a column name that cannot be found in the Table.

See Also

Reference

_Columns Interface

_Columns Members

Microsoft.Office.Interop.Outlook Namespace