共用方式為


Document.EncryptionProvider Property

Gets or sets the name of the algorithm encryption provider that Microsoft Office Word uses when encrypting documents.

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

Syntax

'Declaration
Property EncryptionProvider As String
string EncryptionProvider { get; set; }

Property Value

Type: System.String
The name of the algorithm encryption provider that Microsoft Office Word uses when encrypting documents.

.NET Framework Security

See Also

Reference

Document Interface

Microsoft.Office.Tools.Word Namespace