How to initialize LNDocumentArray. i just need a empty document array object where i will read certain mails(Documents) and i want to do add document to include it into LNDocument array.
If i simply declare a document array variable and try to access, then it will show error that "Object variable is not initailized"
If i call LNDatabase::GetDocuments() or LNDatabase::Search() , then this document array will get initialized with all documents inside it.
Is there any way to simply initialize document array object. because i just need an empty documen array object, where i will add interested mails.
Thanks in advance..