Called whenever a Document object is created, override this method to use Document subclasses.
Declaration Syntax
C# | Visual Basic | Visual C++ |
protected virtual Document CreateNewDocument( DocumentRecord documentRecord )
Protected Overridable Function CreateNewDocument ( _ documentRecord As DocumentRecord _ ) As Document
protected: virtual Document^ CreateNewDocument( DocumentRecord^ documentRecord )
Parameters
- documentRecord (DocumentRecord)
- The data-access layer document record.
Return Value
A new Document (or subclass of)