Click or drag to resize
CurrentDevice Class
Class holding the current device information.
Inheritance Hierarchy
SystemObject
  CMS.BaseAbstractSimpleDataContainerCurrentDevice
    CMS.BaseAbstractDataContainerCurrentDevice
      CMS.DeviceProfilesCurrentDevice

Namespace: CMS.DeviceProfiles
Assembly: CMS.DeviceProfiles (in CMS.DeviceProfiles.dll) Version: 11.0.0
Syntax
C#
public class CurrentDevice : AbstractDataContainer<CurrentDevice>

The CurrentDevice type exposes the following members.

Constructors
  NameDescription
Public methodCurrentDevice
Top
Properties
  NameDescription
Public propertyColumnNames
Available column names.
(Inherited from AbstractDataContainerParentObjectType.)
Public propertyData
Data container of all available device properties. Use the property names available in the HttpBrowserCapabilities class as a key to obtain the desired device information.
Public propertyItem
Gets or sets the value of the column.
(Inherited from AbstractSimpleDataContainerTObject.)
Protected propertyRegisteredColumns
Registered Columns
(Inherited from AbstractSimpleDataContainerTObject.)
Protected propertyRegisteredColumnsObject
Registered Columns object
(Inherited from AbstractSimpleDataContainerTObject.)
Protected propertyUseLocalColumns
If true, the object uses local columns
(Inherited from AbstractSimpleDataContainerTObject.)
Top
Methods
  NameDescription
Public methodContainsColumn
Returns true if specified column is available in current structure.
(Inherited from AbstractDataContainerParentObjectType.)
Public methodGetValue
Gets the object value.
(Inherited from AbstractSimpleDataContainerTObject.)
Protected methodRegisterColumn(String, FuncTObject, Object)
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainerTObject.)
Protected methodRegisterColumn(String, FuncTObject, Object, FuncTObject, Object, Object)
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainerTObject.)
Protected methodRegisterColumns
Registers the Columns of this object
(Inherited from AbstractSimpleDataContainerTObject.)
Public methodSetValue
Sets the object value.
(Inherited from AbstractSimpleDataContainerTObject.)
Public methodTryGetValue
Returns value of column.
(Inherited from AbstractSimpleDataContainerTObject.)
Top
Extension Methods
  NameDescription
Public Extension MethodIsMobile
Extends CurrentDevice for detection if device is mobile.
(Defined by CurrentDeviceExtensions.)
Top
See Also