Sitecore 5.0 API

Item.IsEmpty Method 

Gets a value that indicates if the item is empty.

[Visual Basic]
Public Shared Function IsEmpty( _
   ByVal itemID As ID, _
   ByVal database As Database _
) As Boolean
[C#]
public static bool IsEmpty(
   ID itemID,
   Database database
);

Parameters

itemID
Item ID.
database
Database.

Remarks

An ID identifies an object within the system, but not uniquely. The underlying data of an ID is a Guid.

A database is a collection of items. A database uses a data source object to retrieve and store items. The data source is an concrete implementation that manages items in a storage, e.g. a SQL database or the file system.

See Also

Item Class | Sitecore.Data.Items Namespace