DocumentHelper GetDocument Method Kentico 8.1 API Reference
Overload List

  NameDescription
Public methodStatic memberGetDocument(Int32, TreeProvider)
Returns current document version. If versioning is used, gets the current VersionHistory record, otherwise gets the record directly from the database.
Public methodStatic memberGetDocument(NodeSelectionParameters, TreeProvider)
Returns current document version. If versioning used, gets the current VersionHistory record, otherwise gets the record directly from the database.
Public methodStatic memberGetDocument(TreeNode, TreeProvider)
Returns the latest version of the document if versioning is used or the document itself otherwise.
Public methodStatic memberGetDocument(Int32, String, TreeProvider)
Returns current document version. If versioning used, gets the current VersionHistory record, otherwise gets the record directly from the database.
Public methodStatic memberGetDocument(Int32, String, Boolean, TreeProvider)
Returns current document version. If versioning used, gets the current VersionHistory record, if not, gets the record directly from the database.
Public methodStatic memberGetDocument(String, String, String, Boolean, String, String, String, Int32, Boolean, String, TreeProvider)
Returns current document version. If versioning is used, gets the current VersionHistory record, otherwise gets the record directly from the database. Result contains coupled data only if classNames are specified.
Back to Top
See Also