SharedWorkspaceTasks.ItemCountExceeded Property

Returns a Boolean value that indicates whether the number of items in the collection has exceeded the 99 that can be displayed in the Shared Workspace task pane.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
ReadOnly Property ItemCountExceeded As Boolean
    Get
'Usage
Dim instance As SharedWorkspaceTasks
Dim value As Boolean

value = instance.ItemCountExceeded
bool ItemCountExceeded { get; }

Property Value

Type: System.Boolean

Remarks

The Shared Workspace task pane can only display 99 shared workspace files and folders, links, members, or tasks. If more than 99 items are added to any of these collections, the following occurs:

  • The corresponding tab of the Shared Workspace task pane will stop displaying the list of items and will display a link to the shared workspace site Web page instead.

  • The collection will no longer be populated locally, and its Count property will return 0 (zero).

Furthermore, once the ItemCountExceeded property returns True for one of the collections listed above, the developer can no longer remedy the situation programmatically by deleting items from the collection to reduce the count below 99, because the collection is no longer populated.

The ItemCountExceeded property of the SharedWorkspaceFiles and the SharedWorkspaceFolders collections returns True when the combined count of files and folders exceeds 99, because both lists are combined and displayed together on the Documents tab of the Shared Workspace task pane.

See Also

Reference

SharedWorkspaceTasks Interface

SharedWorkspaceTasks Members

Microsoft.Office.Core Namespace