Click or drag to resize
WebDAVHelperCreateMediaFileInfoFromAttachment Method
Creates media file info from attachment file info.

Namespace: CMS.WebDAV
Assembly: CMS.WebDAV (in CMS.WebDAV.dll) Version: 12.0.0
Syntax
C#
public static MediaFileInfo CreateMediaFileInfoFromAttachment(
	MediaFileInfo currentMediaFile,
	DocumentAttachment attachmentInfo
)

Parameters

currentMediaFile
Type: CMS.MediaLibraryMediaFileInfo
Current media file
attachmentInfo
Type: CMS.DocumentEngineDocumentAttachment
Attachment info

Return Value

Type: MediaFileInfo
New media file info
See Also