IPagePresentationCollectionAddDefaultPresentation Method
|
Namespace:
Ingeniux.CMS.Presentation
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax IPagePresentation AddDefaultPresentation(
string name,
string containerId,
string[] pubTgtIds = null,
string overrideId = null
)
Function AddDefaultPresentation (
name As String,
containerId As String,
Optional pubTgtIds As String() = Nothing,
Optional overrideId As String = Nothing
) As IPagePresentation
IPagePresentation^ AddDefaultPresentation(
String^ name,
String^ containerId,
array<String^>^ pubTgtIds = nullptr,
String^ overrideId = nullptr
)
abstract AddDefaultPresentation :
name : string *
containerId : string *
?pubTgtIds : string[] *
?overrideId : string
(* Defaults:
let _pubTgtIds = defaultArg pubTgtIds null
let _overrideId = defaultArg overrideId null
*)
-> IPagePresentation
Parameters
- name
- Type: SystemString
Name of the presentation to create - containerId
- Type: SystemString
Id of the contains that will hold rendering of the presentation to create - pubTgtIds (Optional)
- Type: SystemString
Id of Publishing Target, that the to be created presentation
will be published to - overrideId (Optional)
- Type: SystemString
Id deliberately specified, if not provided, this id will be automatically generated
Return Value
Type:
IPagePresentationCreated presentation
Exceptions See Also