共用方式為


DisplaySettings.BitsPerPixel Property

Gets the color depth of the display, in bits.

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

Syntax

'宣告
Public Property BitsPerPixel As Integer
    Get
    Set
public int BitsPerPixel { get; set; }
public:
property int BitsPerPixel {
    int get ();
    void set (int value);
}
member BitsPerPixel : int with get, set
function get BitsPerPixel () : int
function set BitsPerPixel (value : int)

Property Value

Type: System.Int32

.NET Framework Security

See Also

Reference

DisplaySettings Structure

Microsoft.VisualStudio.IntelliTrace Namespace