IPagePresentationCollectionSerializeForPage Method
|
Produces the XML element that will be injected into Page XML upon publish
Namespace:
Ingeniux.CMS.Presentation
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax XElement SerializeForPage(
string pubTgtId = null
)
Function SerializeForPage (
Optional pubTgtId As String = Nothing
) As XElement
XElement^ SerializeForPage(
String^ pubTgtId = nullptr
)
abstract SerializeForPage :
?pubTgtId : string
(* Defaults:
let _pubTgtId = defaultArg pubTgtId null
*)
-> XElement
Parameters
- pubTgtId (Optional)
- Type: SystemString
The id of the Publishing Target to be published to, if not specified, only serialize
default presentation that applies to all Publishing Targets, which could be null, if not Presentation
is associated with the given target
Return Value
Type:
XElementThe generated XML element, or null, if not
Presentation associated with
given
Publishing TargetExamples Examples Sample XML output
<IGX_Presentations>
<DefaultPresentations>
<Presentation ID = "i2nfdkduwl0042ndfiads" Name="Main" ContainerID="mainBody" />
</DefaultPresentations>
</IGX_Presentations>
See Also