Partager via


PresentationClass.SetPasswordEncryptionOptions Method

A class in the Microsoft® .NET Framework or a member of such a class that is created when processing a COM coclass that managed code requires to interoperate with the corresponding COM object. Use this class only when you must access an earlier event in this class that has been extended in a later version of the product. Otherwise, use the interface in the .NET Framework that is derived from the COM coclass.

For information about the .NET interface, see Presentation.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Public Overridable Sub SetPasswordEncryptionOptions ( _
    PasswordEncryptionProvider As String, _
    PasswordEncryptionAlgorithm As String, _
    PasswordEncryptionKeyLength As Integer, _
    PasswordEncryptionFileProperties As Boolean _
)
'Usage
Dim instance As PresentationClass
Dim PasswordEncryptionProvider As String
Dim PasswordEncryptionAlgorithm As String
Dim PasswordEncryptionKeyLength As Integer
Dim PasswordEncryptionFileProperties As Boolean

instance.SetPasswordEncryptionOptions(PasswordEncryptionProvider, _
    PasswordEncryptionAlgorithm, PasswordEncryptionKeyLength, _
    PasswordEncryptionFileProperties)
public virtual void SetPasswordEncryptionOptions(
    string PasswordEncryptionProvider,
    string PasswordEncryptionAlgorithm,
    int PasswordEncryptionKeyLength,
    bool PasswordEncryptionFileProperties
)

Parameters

Implements

_Presentation.SetPasswordEncryptionOptions(String, String, Int32, Boolean)

See Also

Reference

PresentationClass Class

PresentationClass Members

Microsoft.Office.Interop.PowerPoint Namespace