Console.LargestWindowWidth 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
根据当前字体和屏幕分辨率获取控制台窗口可能具有的最大列数。
public:
static property int LargestWindowWidth { int get(); };
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public static int LargestWindowWidth { get; }
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("android")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
public static int LargestWindowWidth { get; }
public static int LargestWindowWidth { get; }
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
static member LargestWindowWidth : int
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("android")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
static member LargestWindowWidth : int
static member LargestWindowWidth : int
Public Shared ReadOnly Property LargestWindowWidth As Integer
属性值
控制台窗口可能具有的最大宽度,以列为单位。
- 属性
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将推出:在整个 2024 年,我们将逐步取消以“GitHub 问题”作为内容的反馈机制,并将其替换为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈