Click or drag to resize
CMSDialogHelperGetMediaData Method
Returns Media data according to given URL.

Namespace: CMS.ExtendedControls
Assembly: CMS.ExtendedControls (in CMS.ExtendedControls.dll) Version: 9.0.0
Syntax
C#
public static MediaSource GetMediaData(
	string url,
	string siteName
)

Parameters

url
Type: SystemString
URL of media object
siteName
Type: SystemString
Site name

Return Value

Type: MediaSource
See Also