Click or drag to resize
VersionAttachmentInfoProviderSetVersionAttachmentInfo Method (Int32, Int32)

Note: This API is now obsolete.

Sets (updates or inserts) specified version attachment binding.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IVersionAttachmentInfoProvider.Add(int, int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - VersionAttachmentInfo.Provider.")]
public static void SetVersionAttachmentInfo(
	int versionHistoryId,
	int attachmentHistoryId
)

Parameters

versionHistoryId
Type: SystemInt32
Document version history ID
attachmentHistoryId
Type: SystemInt32
Attachment version history ID
See Also