Megosztás a következőn keresztül:


IDocumentExtension.UnprotectDocument Method

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.

Namespace:  Microsoft.Office.Tools.Word
Assemblies:   Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)
  Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)

Syntax

'Declaration
Sub UnprotectDocument
void UnprotectDocument()

Remarks

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

.NET Framework Security

See Also

Reference

IDocumentExtension Interface

Microsoft.Office.Tools.Word Namespace