Sdílet prostřednictvím


ManagedHelper.EncryptDocument(String, String) Method

Definition

Encrypts the document.

public:
 virtual void EncryptDocument(System::String ^ % document, System::String ^ password);
public void EncryptDocument (ref string document, string password);
abstract member EncryptDocument : string * string -> unit
override this.EncryptDocument : string * string -> unit
Public Sub EncryptDocument (ByRef document As String, password As String)

Parameters

document
String

The document to be encrypted.

password
String

The password.

Implements

Applies to