Partager via


Comments.Item Method

Returns a single object from a collection.

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

Syntax

'Declaration
Function Item ( _
    Index As Integer _
) As Comment
'Usage
Dim instance As Comments
Dim Index As Integer
Dim returnValue As Comment

returnValue = instance.Item(Index)
Comment Item(
    int Index
)

Parameters

  • Index
    Type: System.Int32

    Required Integer. The index number for the object.

Return Value

Type: Microsoft.Office.Interop.Excel.Comment

See Also

Reference

Comments Interface

Comments Members

Microsoft.Office.Interop.Excel Namespace