共用方式為


Workbook.get_Colors 方法

This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.

請改為使用 Colors 屬性,不要使用這個方法。

命名空間:  Microsoft.Office.Tools.Excel
組件:  Microsoft.Office.Tools.Excel (在 Microsoft.Office.Tools.Excel.dll 中)

語法

'宣告
Function get_Colors ( _
    Index As Object _
) As Object
Object get_Colors(
    Object Index
)

參數

傳回值

型別:System.Object

.NET Framework 安全性

請參閱

參考

Workbook 介面

Microsoft.Office.Tools.Excel 命名空間