Share via


IWorkbookExtension.ProtectDocument Method

Definition

Called by the Visual Studio Tools for Office runtime to give developers an opportunity to reapply password protection to the workbook in a document-level project after the cached data has been saved.

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

Remarks

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

Applies to