Creates a new Tab Version checking current portal settings
Namespace: DotNetNuke.Entities.Tabs.TabVersionsAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
| C# |
|---|
TabVersion CreateNewVersion( int tabId, int createdByUserId ) |
| Visual Basic |
|---|
Function CreateNewVersion ( tabId As Integer, createdByUserId As Integer ) As TabVersion |
Parameters
- tabId
- Type: System..::..Int32
Tab Id whose version will be added
- createdByUserId
- Type: System..::..Int32
User Id which creates the version
Return Value
TabVersion filled with the new version data
Remarks
This method will need the Portal Id from the current context