MediaLibraryHelperHasPreview Method |
Returns true if file has preview file.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.2.23
Syntax public static bool HasPreview(
string siteName,
int libraryID,
string filePath
)
Parameters
- siteName
- Type: SystemString
Site name - libraryID
- Type: SystemInt32
Library ID - filePath
- Type: SystemString
File path within library
Return Value
Type:
BooleanSee Also