SPPersistedObjectCollection<T>.IsEmpty property

Gets a Boolean value that indicates whether the collection contains any objects.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property IsEmpty As Boolean
    Get
'Usage
Dim instance As SPPersistedObjectCollection
Dim value As Boolean

value = instance.IsEmpty
public bool IsEmpty { get; }

Property value

Type: System.Boolean
true if the collection is empty; otherwise, false.

See also

Reference

SPPersistedObjectCollection<T> class

SPPersistedObjectCollection<T> members

Microsoft.SharePoint.Administration namespace