共用方式為


IWorkbookExtension.UnprotectDocument Method

Definition

Called by the Visual Studio Tools for Office runtime to give developers an opportunity to remove password protection from the workbook in a document-level project and enable cached data to be saved.

public:
 void UnprotectDocument();
public void UnprotectDocument ();
abstract member UnprotectDocument : unit -> unit
Public Sub UnprotectDocument ()

Remarks

For more information about this method, see Microsoft.Office.Tools.Excel.WorkbookBase.UnprotectDocument.

Applies to