Click or drag to resize
TranslationServiceHelperCreateSubmissionItemInfo Method (TranslationSettings, TranslationSubmissionInfo, TreeNode, Int32)

Note: This API is now obsolete.

Creates new submission item within given submission (saves it to DB also) and returns the object.

Namespace: CMS.TranslationServices
Assembly: CMS.TranslationServices (in CMS.TranslationServices.dll) Version: 8.2.23
Syntax
C#
[ObsoleteAttribute("This method is obsolete. Use method CreateSubmissionItemInfo(TranslationSettings settings, TranslationSubmissionInfo submission, TreeNode sourceNode, int targetDocId, string targetLanguage) instead.")]
public static TranslationSubmissionItemInfo CreateSubmissionItemInfo(
	TranslationSettings settings,
	TranslationSubmissionInfo submission,
	TreeNode sourceNode,
	int targetDocId
)

Parameters

settings
Type: CMS.TranslationServicesTranslationSettings
Translation settings
submission
Type: CMS.TranslationServicesTranslationSubmissionInfo
Submission to which the item belongs
sourceNode
Type: CMS.DocumentEngineTreeNode
Node tu submit
targetDocId
Type: SystemInt32
Document ID of the target culture node (0 if does not exist)

Return Value

Type: TranslationSubmissionItemInfo
See Also