Icon.Width 属性

获取此 Icon 的宽度。

**命名空间:**System.Drawing
**程序集:**System.Drawing(在 system.drawing.dll 中)

语法

声明
Public ReadOnly Property Width As Integer
用法
Dim instance As Icon
Dim value As Integer

value = instance.Width
public int Width { get; }
public:
property int Width {
    int get ();
}
/** @property */
public int get_Width ()
public function get Width () : int

属性值

Icon 的宽度。

平台

Windows 98、Windows 2000 SP4、Windows CE、Windows Millennium Edition、Windows Mobile for Pocket PC、Windows Mobile for Smartphone、Windows Server 2003、Windows XP Media Center Edition、Windows XP Professional x64 Edition、Windows XP SP2、Windows XP Starter Edition

.NET Framework 并不是对每个平台的所有版本都提供支持。有关受支持版本的列表,请参见系统要求

版本信息

.NET Framework

受以下版本支持:2.0、1.1、1.0

.NET Compact Framework

受以下版本支持:2.0、1.0

请参见

参考

Icon 类
Icon 成员
System.Drawing 命名空间