Click or drag to resize
LinkMediaSelectorSelectMediaItem Method (String, String, Int32, Int32, Int64, String, String, Int32, String, String)
Performs actions necessary to select particular item from a list.

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 13.0.131
Syntax
C#
protected void SelectMediaItem(
	string name,
	string ext,
	int width,
	int height,
	long size,
	string url,
	string permanentUrl = null,
	int nodeId = 0,
	string aliasPath = "",
	string description = ""
)

Parameters

name
Type: SystemString
File name
ext
Type: SystemString
File extension
width
Type: SystemInt32
File width
height
Type: SystemInt32
File image height
size
Type: SystemInt64
File size
url
Type: SystemString
File URL
permanentUrl (Optional)
Type: SystemString
File permanent URL
nodeId (Optional)
Type: SystemInt32
Node ID
aliasPath (Optional)
Type: SystemString
Node alias path
description (Optional)
Type: SystemString
File description
See Also