WebViewFolderContents.SelectedItems method
Gets a FolderItems object that represents all of the selected items in the view.
Syntax
retVal = WebViewFolderContents.SelectedItems()
Parameters
This method has no parameters.
Return value
Type: FolderItems**
An object reference to the FolderItems object.
Examples
The following example shows the proper usage of this method for JScript embedded in HTML.
<html>
<head>
...
<script language="JavaScript">
function fnWebViewFolderContentsSelectedItemsJ()
{
var objFolderItems;
objFolderItems = FileList.SelectedItems();
if (objFolderItems != null)
{
alert(objFolderItems.Count);
}
}
</script>
</head>
<body>
...
<object id=FileList classid="clsid:1820FED0-473E-11D0-A96C-00C04FD705A2" tabIndex=1>
</body>
</html>
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional, Windows XP [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|
IDL |
|
DLL |
|