ManagedHelper.EncryptDocument(String, String) 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.
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.