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
'Déclaration
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 | |
---|---|---|
BitsPerPixel | Gets the color depth of the display, in bits. | |
Height | Gets the height of the display, in pixels. | |
Width | Gets the width of the display, in pixels. |
Top
Methods
Name | Description | |
---|---|---|
Equals(Object) | Determines whether the specified object is equal to the current DisplaySettings. (Overrides ValueType.Equals(Object).) | |
Equals(DisplaySettings) | Determines whether the specified DisplaySettings is equal to the current DisplaySettings. | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Gets a hash code for this DisplaySettings. (Overrides ValueType.GetHashCode().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Top
Operators
Name | Description | |
---|---|---|
Equality | Determines whether two DisplaySettings are considered equal. | |
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.