Compartilhar via


DisplaySettings Structure

Describes the display settings for a display that is attached to a computer.

Namespace:  Microsoft.VisualStudio.IntelliTrace
Assembly:  Microsoft.VisualStudio.IntelliTrace (in Microsoft.VisualStudio.IntelliTrace.dll)

Syntax

'Declaração
Public Structure DisplaySettings
public struct DisplaySettings
public value class DisplaySettings
[<Sealed>]
type DisplaySettings =  struct end
JScript supports the use of structures, but not the declaration of new ones.

The DisplaySettings type exposes the following members.

Properties

  Name Description
Public property BitsPerPixel Gets the color depth of the display, in bits.
Public property Height Gets the height of the display, in pixels.
Public property Width Gets the width of the display, in pixels.

Top

Methods

  Name Description
Public method Equals(Object) Determines whether the specified object is equal to the current DisplaySettings. (Overrides ValueType.Equals(Object).)
Public method Equals(DisplaySettings) Determines whether the specified DisplaySettings is equal to the current DisplaySettings.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Gets a hash code for this DisplaySettings. (Overrides ValueType.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Operators

  Name Description
Public operatorStatic member Equality Determines whether two DisplaySettings are considered equal.
Public operatorStatic member Inequality Determines whether two DisplaySettings are considered not equal.

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.VisualStudio.IntelliTrace Namespace