DocumentClass.SetPasswordEncryptionOptions Method 

This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim PasswordEncryptionProvider As String
Dim PasswordEncryptionAlgorithm As String
Dim PasswordEncryptionKeyLength As Integer
Dim PasswordEncryptionFileProperties As Object
Dim documentClass1 As DocumentClass
documentClass1.SetPasswordEncryptionOptions(PasswordEncryptionProvider, PasswordEncryptionAlgorithm, PasswordEncryptionKeyLength, PasswordEncryptionFileProperties)

Syntax

Public Overridable Sub SetPasswordEncryptionOptions( _
    <InAttribute()> ByVal PasswordEncryptionProvider As String, _
    <InAttribute()> ByVal PasswordEncryptionAlgorithm As String, _
    <InAttribute()> ByVal PasswordEncryptionKeyLength As Integer, _
    <InAttribute()> Optional ByRef PasswordEncryptionFileProperties As Object _
)
public virtual void SetPasswordEncryptionOptions(
    [In] string PasswordEncryptionProvider, 
    [In] string PasswordEncryptionAlgorithm, 
    [In] int PasswordEncryptionKeyLength, 
    [In, Optional] ref object PasswordEncryptionFileProperties
);
public: Void SetPasswordEncryptionOptions(
    String^ PasswordEncryptionProvider, 
    String^ PasswordEncryptionAlgorithm, 
    Int32 PasswordEncryptionKeyLength, 
    &Object^ PasswordEncryptionFileProperties
);
public void SetPasswordEncryptionOptions(
    /*in*/System.String PasswordEncryptionProvider, 
    /*in*/System.String PasswordEncryptionAlgorithm, 
    /*in*/int PasswordEncryptionKeyLength, 
    /*in*/System.Object PasswordEncryptionFileProperties
);
public function SetPasswordEncryptionOptions(
     PasswordEncryptionProvider : String, 
     PasswordEncryptionAlgorithm : String, 
     PasswordEncryptionKeyLength : int, 
     PasswordEncryptionFileProperties : Object
);

Parameters

  • PasswordEncryptionProvider
    This parameter is intended for internal use only.
  • PasswordEncryptionAlgorithm
    This parameter is intended for internal use only.
  • PasswordEncryptionKeyLength
    This parameter is intended for internal use only.
  • PasswordEncryptionFileProperties
    This parameter is intended for internal use only.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

DocumentClass Class
Microsoft.Office.Interop.Word Namespace

Other Resources

DocumentClass Members