Partilhar via


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)
Available in Sandboxed Solutions: No

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