EncryptionProvider.NewSession(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.