LinkMediaSelectorSelectMediaItem Method (String, String, Int32, Int32, Int64, String, String, Int32, String) |
Performs actions necessary to select particular item from a list.
Namespace: CMS.UIControlsAssembly: CMS.UIControls (in CMS.UIControls.dll) Version: 12.0.0
Syntax protected void SelectMediaItem(
string name,
string ext,
int width,
int height,
long size,
string url,
string permanentUrl = null,
int nodeId = 0,
string aliasPath = ""
)
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
See Also