Borders.Item Property
Returns a Border object that represents one of the borders of either a range of cells or a style.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
ReadOnly Property Item ( _
Index As XlBordersIndex _
) As Border
Get
'Usage
Dim instance As Borders
Dim Index As XlBordersIndex
Dim value As Border
value = instance.Item(Index)
Border this[
XlBordersIndex Index
] { get; }
Parameters
Index
Type: Microsoft.Office.Interop.Excel.XlBordersIndexRequired XlBordersIndex.
Can be one of these XlBordersIndex constants:
xlDiagonalDown
xlDiagonalUp
xlEdgeBottom
xlEdgeLeft
xlEdgeRight
xlEdgeTop
xlInsideHorizontal
xlInsideVertical
Property Value
Type: Microsoft.Office.Interop.Excel.Border