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.308
Syntax
void MarkForPublish(
	IPublishingTarget pubTarget,
	bool recursive,
	bool mark,
	int versionToMark = 0
)

Parameters

pubTarget
Type: Ingeniux.CMSIPublishingTarget
Publishing target to mark this on which to mark this version.
recursive
Type: SystemBoolean
Whether to include descendants of the Page to which this version belongs.
mark
Type: SystemBoolean
Whether to mark or unmark for publish.
versionToMark (Optional)
Type: SystemInt32

[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