Modifica

Condividi tramite


EncryptionProvider.NewSession(Object) Method

Definition

Used by the EncryptionProvider object to create a new encryption session. This session is used by the provider to cache document-specific information about the encryption, users, and rights while the document is in memory.

public:
 int NewSession(System::Object ^ ParentWindow);
public int NewSession (object ParentWindow);
abstract member NewSession : obj -> int
Public Function NewSession (ParentWindow As Object) As Integer

Parameters

ParentWindow
Object

Specifies the window that is called to display the encryption settings.

Returns

Integer

Remarks

This method is called by your COM add-in.

Applies to