Click or drag to resize
TranslationServiceHelperCreateSubmissionItemInfo Method (TranslationSettings, TranslationSubmissionInfo, TreeNode, Int32, String)
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#
public static TranslationSubmissionItemInfo CreateSubmissionItemInfo(
	TranslationSettings settings,
	TranslationSubmissionInfo submission,
	TreeNode sourceNode,
	int targetDocId,
	string targetLanguage
)

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)
targetLanguage
Type: SystemString

Return Value

Type: TranslationSubmissionItemInfo
See Also