共用方式為


Workbook.ReadOnly Property

Definition

Gets a value that indicates whether the workbook has been opened as read-only.

public:
 property bool ReadOnly { bool get(); };
public bool ReadOnly { get; }
member this.ReadOnly : bool
Public ReadOnly Property ReadOnly As Boolean

Property Value

true if the workbook has been opened as read-only; otherwise, false.

Remarks

This property is used only for lists that are linked to a SharePoint site.

Applies to