_Columns.Item[Object] Property

Definition

Obtains a Column object specified by Index.

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

Parameters

Index
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

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.

Applies to