Share via


_Application.ActiveEncryptionSession Property

Returns a Integer that represents the encryption session associated with the active document. Read-only.

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

Syntax

'Declaration
ReadOnly Property ActiveEncryptionSession As Integer
    Get
'Usage
Dim instance As _Application
Dim value As Integer

value = instance.ActiveEncryptionSession
int ActiveEncryptionSession { get; }

Property Value

Type: System.Int32
Integer

Remarks

The encryption provider mechanism manages each file on a separate process, so each file is associated with a separate encryption session.

Note

This property applies only when a document implements custom encryption.

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Word Namespace