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 docRec )
Protected Overridable Function CreateNewDocument ( _ docRec As DocumentRecord _ ) As Document
protected: virtual Document^ CreateNewDocument( DocumentRecord^ docRec )
Parameters
- docRec (DocumentRecord)
- The data-access layer document record.
Return Value
A new Document (or subclass of)