Click or drag to resize

IContentItemMarkForPublish Method


Marks this version for publish on the specified Publishing Target

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntax
void MarkForPublish(
	IPublishingTarget pubTarget,
	bool recursive,
	bool mark,
	int versionToMark = 0
)

Parameters

pubTarget  IPublishingTarget
Publishing target to mark this on which to mark this version.
recursive  Boolean
Whether to include descendants of the Page to which this version belongs.
mark  Boolean
Whether to mark or unmark for publish.
versionToMark  Int32  (Optional)

[Missing <param name="versionToMark"/> documentation for "M:Ingeniux.CMS.IContentItem.MarkForPublish(Ingeniux.CMS.IPublishingTarget,System.Boolean,System.Boolean,System.Int32)"]

Remarks

When "mark" is true, and "recursive" is true, this is not a version marked for publish, but pages marked for publish.

The Page to which this version belongs and its descendants are marked on the Publishing Target,

with their latest version.

When "mark" is true and "recursive" is false, then it is this version's version number marked on the publishing target.

See Also