MediaLibraryHelperGetMediaSource Method (String, String, String) |
Returns MediaSource for given media file.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.2.23
Syntax public static MediaSource GetMediaSource(
string filePath,
string siteName,
string libraryFolder
)
Parameters
- filePath
- Type: SystemString
Media file path - siteName
- Type: SystemString
Site name - libraryFolder
- Type: SystemString
Library folder name
Return Value
Type:
MediaSourceSee Also