IDocumentExtension.ProtectDocument Method

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.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

Syntax

'Declaration
Sub ProtectDocument
void ProtectDocument()

Remarks

For more information about this method, see DocumentBase.ProtectDocument.

.NET Framework Security

See Also

Reference

IDocumentExtension Interface

Microsoft.Office.Tools.Word Namespace