MediaLibraryHelperGetMediaSource Method (Guid, 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(
Guid fileGuid,
string siteName
)
Parameters
- fileGuid
- Type: SystemGuid
Media file GUID - siteName
- Type: SystemString
Site name
Return Value
Type:
MediaSourceSee Also