Click or drag to resize
CMSDialogHelperGetMediaTypeByExt Method
Returns MediaTypeEnum based on item's extension.

Namespace: CMS.ExtendedControls
Assembly: CMS.ExtendedControls (in CMS.ExtendedControls.dll) Version: 9.0.0
Syntax
C#
public static MediaTypeEnum GetMediaTypeByExt(
	string ext
)

Parameters

ext
Type: SystemString
Item's extension

Return Value

Type: MediaTypeEnum
See Also