Get the current pusblished version of the page
Namespace: DotNetNuke.Entities.Tabs.TabVersionsAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
| C# |
|---|
TabVersion GetCurrentVersion( int tabId, bool ignoreCache = false ) |
| Visual Basic |
|---|
Function GetCurrentVersion ( tabId As Integer, Optional ignoreCache As Boolean = false ) As TabVersion |
Parameters
- tabId
- Type: System..::..Int32
The Tab Id to be queried
- ignoreCache
- Type: System..::..Boolean
If true, the method will not use the Caching Storage
Return Value
TabVersion filled with the current version data
Remarks
If Tab has not a published version yet, it will return null