MediaFileInfo Constructor (HttpPostedFile, Int32) |
Constructor - creates a new MediaFileInfo object from posted file.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 9.0.0
Syntaxpublic MediaFileInfo(
HttpPostedFile postedFile,
int libraryId
)
Parameters
- postedFile
- Type: System.WebHttpPostedFile
Posted file - libraryId
- Type: SystemInt32
ID of the library the file will be assigned to
See Also