MediaFileInfo Constructor (String, Int32, String)Kentico 8.1 API Reference
Constructor - creates a new MediaFileInfo object specified by its file physical path.

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

path
Type: OnlineSystem String
File physical path
libraryId
Type: OnlineSystem Int32
ID of the library the file will be assigned to
librarySubfolder
Type: OnlineSystem String
Library subfolder path where file should be saved
See Also