Workbook.ReadOnly 屬性

定義

取得值,指出活頁簿是否以唯讀方式開啟。Gets a value that indicates whether the workbook has been opened as read-only.

public bool ReadOnly { get; }

屬性值

Boolean

如果活頁簿以唯讀方式開啟則為 true,否則為 falsetrue if the workbook has been opened as read-only; otherwise, false.

備註

這個屬性僅用於連結至 SharePoint 網站的清單。This property is used only for lists that are linked to a SharePoint site.

適用於