編輯

共用方式為


EncryptionProvider.EncryptStream(Int32, String, Object, Object) Method

Definition

Encrypts and returns a stream of data for a document.

public:
 void EncryptStream(int SessionHandle, System::String ^ StreamName, System::Object ^ UnencryptedStream, System::Object ^ EncryptedStream);
public void EncryptStream (int SessionHandle, string StreamName, object UnencryptedStream, object EncryptedStream);
abstract member EncryptStream : int * string * obj * obj -> unit
Public Sub EncryptStream (SessionHandle As Integer, StreamName As String, UnencryptedStream As Object, EncryptedStream As Object)

Parameters

SessionHandle
Int32

The ID of the current session.

StreamName
String

The name of the encrypted stream of document data.

UnencryptedStream
Object

The data stream before encryption.

EncryptedStream
Object

The data stream information after it has been encrypted.

Remarks

This method is typically called by your COM add-in during a save operation.

Applies to