Compartilhar via


IDocumentExtension.ProtectDocument Method

Definition

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

Applies to