Screen.Primary 屬性

定義

會取得一個值,表示某個顯示器是否為主要裝置。

public:
 property bool Primary { bool get(); };
public bool Primary { get; }
member this.Primary : bool
Public ReadOnly Property Primary As Boolean

屬性值

true如果這個顯示器是主顯示器;否則,。 false

適用於