SystemMetrics Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Contains a display device screen's dimensions and the number of available colors.

Inheritance Hierarchy

System. . :: . .Object
  Microsoft.SPOT.Presentation..::..SystemMetrics

Namespace:  Microsoft.SPOT.Presentation
Assembly:  Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)

Syntax

'Declaration
Public NotInheritable Class SystemMetrics
public sealed class SystemMetrics
public ref class SystemMetrics sealed
[<Sealed>]
type SystemMetrics =  class end
public final class SystemMetrics

The SystemMetrics type exposes the following members.

Constructors

  Name Description
Public method SystemMetrics Initializes a new instance of the SystemMetrics class.

Top

Properties

  Name Description
Public propertyStatic member ScreenColorDepth Gets the number of colors that are available on the screen.
Public propertyStatic member ScreenHeight Gets the height of the screen.
Public propertyStatic member ScreenWidth Gets the width of the screen.

Top

Methods

  Name Description
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SPOT.Presentation Namespace