ListBox.AddItemsCore 方法

注意:此方法现在已过时。 非过时替代项是 None

此成员已过时,且无替代项。

**命名空间:**System.Windows.Forms
**程序集:**System.Windows.Forms(在 system.windows.forms.dll 中)

语法

声明
<ObsoleteAttribute("This method has been deprecated.  There is no replacement.  https://go.microsoft.com/fwlink/?linkid=14202")> _
Protected Overridable Sub AddItemsCore ( _
    value As Object() _
)
用法
Dim value As Object()

Me.AddItemsCore(value)
[ObsoleteAttribute("This method has been deprecated.  There is no replacement.  https://go.microsoft.com/fwlink/?linkid=14202")] 
protected virtual void AddItemsCore (
    Object[] value
)
[ObsoleteAttribute(L"This method has been deprecated.  There is no replacement.  https://go.microsoft.com/fwlink/?linkid=14202")] 
protected:
virtual void AddItemsCore (
    array<Object^>^ value
)
/** @attribute ObsoleteAttribute("This method has been deprecated.  There is no replacement.  https://go.microsoft.com/fwlink/?linkid=14202") */ 
protected void AddItemsCore (
    Object[] value
)
ObsoleteAttribute("This method has been deprecated.  There is no replacement.  https://go.microsoft.com/fwlink/?linkid=14202") 
protected function AddItemsCore (
    value : Object[]
)

参数

  • value
    对象数组。

平台

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

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

版本信息

.NET Framework

受以下版本支持:1.0、1.1
在 2.0 中过时(编译器警告)

请参见

参考

ListBox 类
ListBox 成员
System.Windows.Forms 命名空间