Click or drag to resize
LinkMediaSelector.SelectMediaItem 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: System.String
File name
ext
Type: System.String
File extension
width
Type: System.Int32
File width
height
Type: System.Int32
File image height
size
Type: System.Int64
File size
url
Type: System.String
File URL
permanentUrl (Optional)
Type: System.String
File permanent URL
nodeId (Optional)
Type: System.Int32
Node ID
aliasPath (Optional)
Type: System.String
Node alias path
description (Optional)
Type: System.String
File description
See Also