共用方式為


ListObject.IsSelected Property

Gets a value that indicates whether the ListObject is selected.

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

Syntax

'Declaration
ReadOnly Property IsSelected As Boolean
bool IsSelected { get; }

Property Value

Type: System.Boolean
true if the ListObject is selected, or if any range that includes part of the ListObject is selected; otherwise, false.

.NET Framework Security

See Also

Reference

ListObject Interface

Microsoft.Office.Tools.Excel Namespace