編輯

共用方式為


Borders.Item[XlBordersIndex] Property

Definition

Returns a Border object that represents one of the borders of either a range of cells or a style.

public:
 property Microsoft::Office::Interop::Excel::Border ^ Item[Microsoft::Office::Interop::Excel::XlBordersIndex] { Microsoft::Office::Interop::Excel::Border ^ get(Microsoft::Office::Interop::Excel::XlBordersIndex Index); };
public Microsoft.Office.Interop.Excel.Border Item[Microsoft.Office.Interop.Excel.XlBordersIndex Index] { get; }
Public ReadOnly Property Item(Index As XlBordersIndex) As Border

Parameters

Index
XlBordersIndex

Required XlBordersIndex.Can be one of these XlBordersIndex constants:xlDiagonalDownxlDiagonalUpxlEdgeBottomxlEdgeLeftxlEdgeRightxlEdgeTopxlInsideHorizontalxlInsideVertical

Property Value

Applies to