Partager via


Errors.Item Property

Returns a single member of the Error object.

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

Syntax

'Declaration
ReadOnly Property Item ( _
    Index As Object _
) As Error
    Get
'Usage
Dim instance As Errors
Dim Index As Object
Dim value As Error

value = instance.Item(Index)
Error this[
    Object Index
] { get; }

Parameters

  • Index
    Type: System.Object

    Required Object. The Index can also be one of these constants:

    xlEvaluateToError The cell evaluates to an error value.

    xlTextDate The cell contains a text date with 2 digit years.

    xlNumberAsText The cell contains a number stored as text.

    xlInconsistentFormula The cell contains an inconsistent formula for a region.

    xlOmittedCells The cell contains a formula omitting a cell for a region.

    xlUnlockedFormulaCells The cell which is unlocked contains a formula.

    xlEmptyCellReferences The cell contains a formula referring to empty cells.

Property Value

Type: Microsoft.Office.Interop.Excel.Error

See Also

Reference

Errors Interface

Errors Members

Microsoft.Office.Interop.Excel Namespace