共用方式為


IDocumentExtension.UnprotectDocument Method

Definition

Called by the Visual Studio Tools for Office runtime to give developers an opportunity to remove password protection from the document 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.Word.DocumentBase.UnprotectDocument.

Applies to