ArrayEditor Class
.NET Framework 2.0
Provides a user interface for editing arrays at design time.
Namespace: System.ComponentModel.Design
Assembly: System.Design (in system.design.dll)
Assembly: System.Design (in system.design.dll)
The following code example demonstrates applying the System.ComponentModel.EditorAttribute to a property.
[EditorAttribute(typeof(System.ComponentModel.Design.ArrayEditor), typeof(System.Drawing.Design.UITypeEditor))] public object[] componentArray { get { return compArray; } set { compArray = value; } } private object[] compArray;
/** @attribute EditorAttribute(System.ComponentModel.Design.ArrayEditor.
class,System.Drawing.Design.UITypeEditor.class)
*/
/** @property
*/
public Object[] get_componentArray()
{
return compArray;
}//get_componentArray
/** @property
*/
public void set_componentArray(Object value[])
{
compArray = value;
}//set_componentArray
private Object compArray[];
System.Object
System.Drawing.Design.UITypeEditor
System.ComponentModel.Design.CollectionEditor
System.ComponentModel.Design.ArrayEditor
System.Drawing.Design.UITypeEditor
System.ComponentModel.Design.CollectionEditor
System.ComponentModel.Design.ArrayEditor
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.