Condividi tramite


SP.ListOperation.Selection.getSelectedItems() Method

Applies to: SharePoint Foundation 2010

In this article
Return Value
Remarks
Applies To

Gets the list items being selected.

var value = SP.ListOperation.Selection.getSelectedItems();

Return Value

Type: Dictionary

The key/value collection that contains the list items being selected.

Remarks

The key in the dictionary is the zero-based integer value. The value is an object that contains two attributes, id and fsObjType, where id is the ID of the list item, and fsObjType is the type of the item: 0 = list item or document, 1= folder.

Applies To

SP.ListOperation.Selection Class

See Also

Reference

SP.ListOperation.Selection Methods

SP.ListOperation Namespace