Sitecore 5.0 API

DeviceRecords Class

Represents the layout devices that are defined in a specified database.

For a list of all members of this type, see DeviceRecords Members.

System.Object
   Sitecore.Data.Database.DataRecords
      Sitecore.Data.DeviceRecords

[Visual Basic]
Public Class DeviceRecords
    Inherits DataRecords
[C#]
public class DeviceRecords : DataRecords

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

A Device is a layout unit, the specifies the reciever of an rendering operation. The device make it possible to differentiate how a layout and renderings are rendered, so that it matches the capabilities of the device. The standard device is an internet browser that supports HTML 4.0. Other devices may be printers and PDAs.

To get all the devices as an array, use the GetAll method.

Requirements

Namespace: Sitecore.Data

Assembly: Sitecore.Kernel (in Sitecore.Kernel.dll)

See Also

DeviceRecords Members | Sitecore.Data Namespace